pub struct WorktreeGcReport {
pub removed_instances: usize,
pub removed_worktrees: usize,
pub pruned_repos: usize,
pub skipped_live_instances: usize,
}Expand description
Summary counters returned by cleanup_orphaned_worktrees.
Fields§
§removed_instances: usizeNumber of dead-process instance directories removed.
removed_worktrees: usizeNumber of individual worktrees removed via git worktree remove --force.
pruned_repos: usizeNumber of repositories where git worktree prune was run.
skipped_live_instances: usizeNumber of live-process instance directories left untouched.
Trait Implementations§
Source§impl Clone for WorktreeGcReport
impl Clone for WorktreeGcReport
impl Copy for WorktreeGcReport
Source§impl Debug for WorktreeGcReport
impl Debug for WorktreeGcReport
Source§impl Default for WorktreeGcReport
impl Default for WorktreeGcReport
impl Eq for WorktreeGcReport
Source§impl PartialEq for WorktreeGcReport
impl PartialEq for WorktreeGcReport
impl StructuralPartialEq for WorktreeGcReport
Auto Trait Implementations§
impl Forget for WorktreeGcReport
impl Freeze for WorktreeGcReport
impl Move for WorktreeGcReport
impl RefUnwindSafe for WorktreeGcReport
impl Send for WorktreeGcReport
impl Sync for WorktreeGcReport
impl Unpin for WorktreeGcReport
impl UnsafeUnpin for WorktreeGcReport
impl UnwindSafe for WorktreeGcReport
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.