pub struct ScanReport {
pub total_blobs: usize,
pub total_bytes: u64,
pub largest: Vec<BlobStat>,
pub commits_scanned: usize,
pub refs_scanned: usize,
}Expand description
Read-only scan result from scan_blobs.
Fields§
§total_blobs: usizeDistinct blob objects seen across all reachable history (after --path).
total_bytes: u64Sum of the distinct blobs’ sizes (what a full clean of the filter could reclaim if every matched blob became unreachable).
largest: Vec<BlobStat>The top_n largest blobs, descending by size.
commits_scanned: usizeNumber of reachable commits walked.
refs_scanned: usizeNumber of refs (branch/tag/…) that resolved to a commit.
Trait Implementations§
Source§impl Clone for ScanReport
impl Clone for ScanReport
Source§fn clone(&self) -> ScanReport
fn clone(&self) -> ScanReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ScanReport
impl RefUnwindSafe for ScanReport
impl Send for ScanReport
impl Sync for ScanReport
impl Unpin for ScanReport
impl UnsafeUnpin for ScanReport
impl UnwindSafe for ScanReport
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