pub struct WorktreeConflict {
pub name: String,
pub path: String,
pub found: String,
}Expand description
A worktree pairing that was found occupied by something other than this worktree’s counterpart.
Wiring is a write to both halves, and one of the two files belongs to whatever sits at the counterpart’s place. When that occupant cannot be confirmed as this worktree’s other half — its pointer names a different repository, or it is an independent repository outright — nothing is written and the collision is reported instead.
Fields§
§name: StringWorktree name under .git/worktrees/.
path: StringThe occupied path the wiring stopped at.
found: StringWhat was found there.
Trait Implementations§
Source§impl Clone for WorktreeConflict
impl Clone for WorktreeConflict
Source§fn clone(&self) -> WorktreeConflict
fn clone(&self) -> WorktreeConflict
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 WorktreeConflict
impl Debug for WorktreeConflict
Auto Trait Implementations§
impl Freeze for WorktreeConflict
impl RefUnwindSafe for WorktreeConflict
impl Send for WorktreeConflict
impl Sync for WorktreeConflict
impl Unpin for WorktreeConflict
impl UnsafeUnpin for WorktreeConflict
impl UnwindSafe for WorktreeConflict
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