enum WorktreeRegistration {
Live,
Stale,
Absent,
}Expand description
Where the worktree at path stands with git’s registrations.
Variants§
Live
git lists it, and the listed path resolves to this directory.
Stale
git lists it by a path that no longer resolves, and the listing’s tail still names this worktree - the shape a repo move leaves.
Absent
git lists no registration for this path.
Trait Implementations§
Source§impl Clone for WorktreeRegistration
impl Clone for WorktreeRegistration
impl Copy for WorktreeRegistration
Source§impl Debug for WorktreeRegistration
impl Debug for WorktreeRegistration
impl Eq for WorktreeRegistration
Source§impl PartialEq for WorktreeRegistration
impl PartialEq for WorktreeRegistration
impl StructuralPartialEq for WorktreeRegistration
Auto Trait Implementations§
impl Freeze for WorktreeRegistration
impl RefUnwindSafe for WorktreeRegistration
impl Send for WorktreeRegistration
impl Sync for WorktreeRegistration
impl Unpin for WorktreeRegistration
impl UnsafeUnpin for WorktreeRegistration
impl UnwindSafe for WorktreeRegistration
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.