pub enum MergeInfoMessage {
DirRenameSkippedDueToRerename {
old_dir: Vec<u8>,
path: Vec<u8>,
new_dir: Vec<u8>,
},
DirRenameApplied {
old_path: Vec<u8>,
new_path: Vec<u8>,
renamed_from: Option<Vec<u8>>,
added_in: String,
dir_renamed_in: String,
},
DirRenameLocationConflict {
old_path: Vec<u8>,
new_path: Vec<u8>,
renamed_from: Option<Vec<u8>>,
added_in: String,
dir_renamed_in: String,
},
RenameDeleteConflict {
old_path: Vec<u8>,
new_path: Vec<u8>,
renamed_in: String,
deleted_in: String,
},
}Expand description
Non-conflict merge information that porcelain commands may print.
Variants§
DirRenameSkippedDueToRerename
A directory rename was skipped because the suggested target directory was itself renamed away on this side.
DirRenameApplied
A path was updated due to a directory rename in
merge.directoryRenames=true mode.
Fields
DirRenameLocationConflict
A directory-rename location conflict that overlaps another conflict at
the same final path, such as a content conflict. The path’s primary
conflict kind remains attached to the path; this carries git’s extra
CONFLICT (file location) line.
Fields
RenameDeleteConflict
A rename/delete conflict whose conflicted destination was later moved
aside by directory/file conflict handling. The primary per-path conflict
remains FileDirectory; this preserves git’s extra rename/delete line.
Trait Implementations§
Source§impl Clone for MergeInfoMessage
impl Clone for MergeInfoMessage
Source§fn clone(&self) -> MergeInfoMessage
fn clone(&self) -> MergeInfoMessage
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 MergeInfoMessage
impl Debug for MergeInfoMessage
impl Eq for MergeInfoMessage
Source§impl PartialEq for MergeInfoMessage
impl PartialEq for MergeInfoMessage
Source§fn eq(&self, other: &MergeInfoMessage) -> bool
fn eq(&self, other: &MergeInfoMessage) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MergeInfoMessage
Auto Trait Implementations§
impl Freeze for MergeInfoMessage
impl RefUnwindSafe for MergeInfoMessage
impl Send for MergeInfoMessage
impl Sync for MergeInfoMessage
impl Unpin for MergeInfoMessage
impl UnsafeUnpin for MergeInfoMessage
impl UnwindSafe for MergeInfoMessage
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