pub enum WtClass {
Kept {
reason: String,
},
Candidate,
Judged(Class),
Stale,
}Expand description
What rk worktree prune says about one linked worktree.
Variants§
Kept
Guarded out, with the reason: the main checkout, a seat in use, locked, detached, a protected branch, dirty, or a live upstream.
Candidate
Its branch’s upstream is gone and no guard held: a candidate.
Judged(Class)
Confirmed / Unconfirmed / Unknown — the judgments from
crate::branches::Class, produced by the same predicate.
Stale
A registered record whose directory is missing and which is not
locked: git worktree prune --expire now territory, never a
removal.
Trait Implementations§
impl Eq for WtClass
impl StructuralPartialEq for WtClass
Auto Trait Implementations§
impl Freeze for WtClass
impl RefUnwindSafe for WtClass
impl Send for WtClass
impl Sync for WtClass
impl Unpin for WtClass
impl UnsafeUnpin for WtClass
impl UnwindSafe for WtClass
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