pub enum ThreeWayMergeOutcome {
Clean {
tree: Tree,
},
Conflicted {
tree: Tree,
paths: Vec<String>,
base: StateId,
},
AlreadyIntegrated {
target: StateId,
},
FastForward {
target: StateId,
},
}Expand description
Result of trying a 3-way merge between two thread tips.
Variants§
Clean
Clean tree with no conflicts. Tree is allocated in the
parent_repo object store.
Conflicted
Conflicts exist. tree is the partial merge tree containing
conflict markers, and paths lists the conflicting path strings.
AlreadyIntegrated
Already-integrated or fast-forward — caller can take a
simpler advance path. The contained target is the tip the
caller should advance to.
FastForward
Auto Trait Implementations§
impl Freeze for ThreeWayMergeOutcome
impl RefUnwindSafe for ThreeWayMergeOutcome
impl Send for ThreeWayMergeOutcome
impl Sync for ThreeWayMergeOutcome
impl Unpin for ThreeWayMergeOutcome
impl UnsafeUnpin for ThreeWayMergeOutcome
impl UnwindSafe for ThreeWayMergeOutcome
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