Directory

Type Alias Directory 

Source
pub type Directory<T> = Directory<RegularFile<T>>;
Expand description

A directory in the filesystem tree, specialized for composefs regular files.

Aliased Type§

pub struct Directory<T> {
    pub stat: Stat,
    pub(crate) entries: BTreeMap<Box<OsStr>, Inode<RegularFile<T>>>,
}

Fields§

§stat: Stat

Metadata for this directory.

§entries: BTreeMap<Box<OsStr>, Inode<RegularFile<T>>>

Map of filenames to inodes within this directory.