Inode

Type Alias Inode 

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

An inode representing either a directory or a leaf node, specialized for composefs regular files.

Aliased Type§

pub enum Inode<T> {
    Directory(Box<Directory<RegularFile<T>>>),
    Leaf(Rc<Leaf<RegularFile<T>>>),
}

Variants§

§

Directory(Box<Directory<RegularFile<T>>>)

A directory inode.

§

Leaf(Rc<Leaf<RegularFile<T>>>)

A leaf inode (reference-counted to support hardlinks).