pub struct MergeCommitOutput {
pub resolved: Vec<(ConflictId, Resolution)>,
pub resolved_files: Vec<(FilePath, FileResolution)>,
pub needs_setfiles: bool,
}Expand description
What MergeSession::commit hands the caller to land: the resolved
sig conflicts (as before #1007) plus the resolved file conflicts and
whether the merge needs a SetFiles op at all (#1007 PR 7 — see
MergeSession::attach_file_conflicts).
Fields§
§resolved: Vec<(ConflictId, Resolution)>§resolved_files: Vec<(FilePath, FileResolution)>§needs_setfiles: boolTrue when dst’s and src’s files manifests disagreed at all (even
if every path auto-resolved with no FileConflict) — the
merge commit must append a SetFiles recording the merged
manifest, per #1007 §1. False when the session was never told
about a files dimension, or the manifests already agreed.
Trait Implementations§
Source§impl Clone for MergeCommitOutput
impl Clone for MergeCommitOutput
Source§impl Debug for MergeCommitOutput
impl Debug for MergeCommitOutput
impl Eq for MergeCommitOutput
Source§impl PartialEq for MergeCommitOutput
impl PartialEq for MergeCommitOutput
impl StructuralPartialEq for MergeCommitOutput
Auto Trait Implementations§
impl Freeze for MergeCommitOutput
impl RefUnwindSafe for MergeCommitOutput
impl Send for MergeCommitOutput
impl Sync for MergeCommitOutput
impl Unpin for MergeCommitOutput
impl UnsafeUnpin for MergeCommitOutput
impl UnwindSafe for MergeCommitOutput
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.