Home
last modified time | relevance | path

Searched refs:InodeInfo (Results 1 – 1 of 1) sorted by relevance

/packages/modules/Virtualization/authfs/src/file/
Ddir.rs33 struct InodeInfo { struct
63 entries: HashMap<PathBuf, InodeInfo>, argument
93 self.entries.insert(basename.to_path_buf(), InodeInfo { inode, is_dir: false }); in create_file()
115 self.entries.insert(basename.to_path_buf(), InodeInfo { inode, is_dir: true }); in mkdir()
164 .map(|(name, InodeInfo { inode, is_dir })| { in retrieve_entries()
206 pub struct InMemoryDir(HashMap<PathBuf, InodeInfo>);
223 self.add_entry(basename, InodeInfo { inode, is_dir: true }) in add_dir()
229 self.add_entry(basename, InodeInfo { inode, is_dir: false }) in add_file()
232 fn add_entry(&mut self, basename: &Path, dir_entry: InodeInfo) -> io::Result<()> { in add_entry()
254 .map(|(name, InodeInfo { inode, is_dir })| { in retrieve_entries()