liteboxfs 0.2.0

A modern POSIX filesystem in a SQLite database
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/// Statistics about the filesystem.
///
/// # See Also
///
/// - [`Filesystem::stats`]
///
/// [`Filesystem::stats`]: crate::Filesystem::stats
#[derive(Debug, Clone)]
pub struct FilesystemStats {
    pub(crate) file_count: u64,
}

impl FilesystemStats {
    /// The number of files in the current filesystem root.
    pub fn file_count(&self) -> u64 {
        self.file_count
    }
}