pub struct CleanupOutcome {
pub dry_run: bool,
pub finalized: Vec<FinalizedInstance>,
pub orphan_workspaces: Vec<Utf8PathBuf>,
pub dead_state: Vec<Utf8PathBuf>,
pub pruned: Vec<PrunedRev>,
pub pinned_by_checkpoints: usize,
pub warnings: Vec<String>,
}Expand description
What one cleanup pass did, or would do under --dry-run. Garbage
collection has to be reportable to be trustworthy: every list here is
something that disappeared (or would).
Fields§
§dry_run: bool§finalized: Vec<FinalizedInstance>Instances whose workspace was gone, so newgit finished the teardown.
orphan_workspaces: Vec<Utf8PathBuf>Workspace directories with no binding record at all.
dead_state: Vec<Utf8PathBuf>Dead PID files and state directories for instances that are gone.
pruned: Vec<PrunedRev>§pinned_by_checkpoints: usizeLane revs kept alive solely because a checkpoint still points at them — the constraint pruning must never violate, surfaced so the retained disk is explained rather than mysterious.
warnings: Vec<String>Implementations§
Trait Implementations§
Source§impl Clone for CleanupOutcome
impl Clone for CleanupOutcome
Source§fn clone(&self) -> CleanupOutcome
fn clone(&self) -> CleanupOutcome
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 moreSource§impl Debug for CleanupOutcome
impl Debug for CleanupOutcome
Source§impl Default for CleanupOutcome
impl Default for CleanupOutcome
Source§fn default() -> CleanupOutcome
fn default() -> CleanupOutcome
Returns the “default value” for a type. Read more
impl Eq for CleanupOutcome
Source§impl PartialEq for CleanupOutcome
impl PartialEq for CleanupOutcome
impl StructuralPartialEq for CleanupOutcome
Auto Trait Implementations§
impl Freeze for CleanupOutcome
impl RefUnwindSafe for CleanupOutcome
impl Send for CleanupOutcome
impl Sync for CleanupOutcome
impl Unpin for CleanupOutcome
impl UnsafeUnpin for CleanupOutcome
impl UnwindSafe for CleanupOutcome
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