pub enum ConflictClass {
TextMarkers,
Binary,
DeleteModify,
Special,
}Expand description
Classification of how a conflicting path is presented to the user.
Variants§
TextMarkers
Text modify/modify or add/add: classic 2-way Git markers are written into the worktree file.
Binary
Binary blob on either side: no markers (they would corrupt the file); the ours-side content is left in place for manual edit.
DeleteModify
Delete/modify: one side removed the path; the surviving content
is left in place; resolve by mkit add or mkit rm.
Special
Symlink or executable-mode change, or any other shape unsafe for markers: ours-side content/mode is left in place for manual edit.
Trait Implementations§
Source§impl Clone for ConflictClass
impl Clone for ConflictClass
Source§fn clone(&self) -> ConflictClass
fn clone(&self) -> ConflictClass
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 moreimpl Copy for ConflictClass
Source§impl Debug for ConflictClass
impl Debug for ConflictClass
impl Eq for ConflictClass
Source§impl PartialEq for ConflictClass
impl PartialEq for ConflictClass
Source§fn eq(&self, other: &ConflictClass) -> bool
fn eq(&self, other: &ConflictClass) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConflictClass
Auto Trait Implementations§
impl Freeze for ConflictClass
impl RefUnwindSafe for ConflictClass
impl Send for ConflictClass
impl Sync for ConflictClass
impl Unpin for ConflictClass
impl UnsafeUnpin for ConflictClass
impl UnwindSafe for ConflictClass
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