lotus_lib/toc/mod.rs
1/*!
2
3This module implements the [`Node`] struct, which represents a file or directory in a structure that
4mirrors the directory tree.
5
6The [`Node`] struct implements two traits: [`FileNode`] and [`DirectoryNode`]. The [`FileNode`]
7trait provides methods for getting information about a file, such as the cache offset, timestamp,
8compressed length, and decompressed length. The [`DirectoryNode`] trait provides methods for getting
9information about a directory, such as its children and a child with a given name.
10
11*/
12
13mod node;
14mod toc;
15mod toc_entry;
16
17pub use node::{DirectoryNode, FileNode, Node, NodeKind};
18pub(crate) use toc::Toc;