pub struct GcStats {
pub pack_refs: Option<PackRefsReport>,
pub repack: RepackStats,
pub prune: PruneStats,
pub prune_ran: bool,
pub commit_graph: Option<CommitGraphWriteReport>,
pub reflog_entries_pruned: usize,
pub drop_large_blobs: Option<DropPromisedBlobsReport>,
pub phase_timings: GcPhaseTimings,
}Expand description
Result of gc.
Fields§
§pack_refs: Option<PackRefsReport>Loose refs packed during gc (None when skipped).
repack: RepackStatsCounters from the repack phase.
prune: PruneStatsCounters from loose-object pruning after repack.
prune_ran: boolTrue when full gc ran unreachable loose-object pruning during repack.
commit_graph: Option<CommitGraphWriteReport>Monolithic commit-graph written after repack/prune (None when skipped).
reflog_entries_pruned: usizeReflog lines removed by expiry during gc.
drop_large_blobs: Option<DropPromisedBlobsReport>The drop-large-blobs phase (None when GcOptions::drop_large_blobs is
false). Reports DropPromisedBlobsSkip::Disabled unless
maintenance.drop-large-blobs.enabled is set.
phase_timings: GcPhaseTimingsPer-phase wall times for the gc orchestration.
Trait Implementations§
impl Eq for GcStats
impl StructuralPartialEq for GcStats
Auto Trait Implementations§
impl Freeze for GcStats
impl RefUnwindSafe for GcStats
impl Send for GcStats
impl Sync for GcStats
impl Unpin for GcStats
impl UnsafeUnpin for GcStats
impl UnwindSafe for GcStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.