pub enum NotesMergeStrategy {
Manual,
Ours,
Theirs,
Union,
CatSortUniq,
}Expand description
How to combine conflicting note blobs during a notes merge.
Variants§
Manual
Leave conflicts for the user to resolve in the worktree.
Ours
Keep the local note blob on conflict.
Theirs
Keep the remote note blob on conflict.
Union
Concatenate both note blobs on conflict.
CatSortUniq
Concatenate, sort lines, and deduplicate on conflict.
Trait Implementations§
Source§impl Clone for NotesMergeStrategy
impl Clone for NotesMergeStrategy
impl Copy for NotesMergeStrategy
Source§impl Debug for NotesMergeStrategy
impl Debug for NotesMergeStrategy
impl Eq for NotesMergeStrategy
Source§impl PartialEq for NotesMergeStrategy
impl PartialEq for NotesMergeStrategy
impl StructuralPartialEq for NotesMergeStrategy
Auto Trait Implementations§
impl Freeze for NotesMergeStrategy
impl RefUnwindSafe for NotesMergeStrategy
impl Send for NotesMergeStrategy
impl Sync for NotesMergeStrategy
impl Unpin for NotesMergeStrategy
impl UnsafeUnpin for NotesMergeStrategy
impl UnwindSafe for NotesMergeStrategy
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.