pub struct PrunedWorktreeEntry {
pub path: PathBuf,
pub reason: String,
}Expand description
One linked worktree removed or that would be removed by prune_linked_worktrees.
Fields§
§path: PathBufWorking tree path from the registry.
reason: StringWhy the entry is prunable (matches git worktree prune messaging).
Trait Implementations§
Source§impl Clone for PrunedWorktreeEntry
impl Clone for PrunedWorktreeEntry
Source§impl Debug for PrunedWorktreeEntry
impl Debug for PrunedWorktreeEntry
impl Eq for PrunedWorktreeEntry
Source§impl PartialEq for PrunedWorktreeEntry
impl PartialEq for PrunedWorktreeEntry
impl StructuralPartialEq for PrunedWorktreeEntry
Auto Trait Implementations§
impl Freeze for PrunedWorktreeEntry
impl RefUnwindSafe for PrunedWorktreeEntry
impl Send for PrunedWorktreeEntry
impl Sync for PrunedWorktreeEntry
impl Unpin for PrunedWorktreeEntry
impl UnsafeUnpin for PrunedWorktreeEntry
impl UnwindSafe for PrunedWorktreeEntry
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.