pub struct DirSizing {
pub logical: u64,
pub allocated: u64,
pub unique: u64,
pub unknown_files: u64,
pub unknown_allocated_bytes: u64,
pub files: u64,
pub fully_shared_files: u64,
pub hardlink_pinned_inodes: u64,
pub hardlink_pinned_bytes: u64,
pub clones: CloneSketch,
pub unreadable_dirs: u64,
pub confidence: Confidence,
}Expand description
Aggregate over a directory.
Fields§
§logical: u64§allocated: u64§unique: u64§unknown_files: u64Files whose physical reclaim could not be measured.
unknown_allocated_bytes: u64Allocated bytes excluded from unique because sharing is unknown.
files: u64Files whose blocks were reported fully shared.
hardlink_pinned_inodes: u64Multiply-linked inodes with at least one name outside this tree.
hardlink_pinned_bytes: u64Otherwise-unique bytes retained by those outside names.
clones: CloneSketchA sample of the clone groups this directory’s shared files belong to, for identifying which other directories hold the other half.
unreadable_dirs: u64Directories that could not be read, so their contents are missing from every figure above.
Silently returning a smaller number for an unreadable tree is the worst failure this type can have: “0 bytes” reads as “nothing to reclaim” when the truth is “could not look”.
confidence: ConfidenceImplementations§
Trait Implementations§
impl Copy for DirSizing
impl Eq for DirSizing
impl StructuralPartialEq for DirSizing
Auto Trait Implementations§
impl Freeze for DirSizing
impl RefUnwindSafe for DirSizing
impl Send for DirSizing
impl Sync for DirSizing
impl Unpin for DirSizing
impl UnsafeUnpin for DirSizing
impl UnwindSafe for DirSizing
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more