pub struct MergePlan { /* private fields */ }Expand description
Planned merge relationship plus optional 3-way tree merge result.
Implementations§
Source§impl MergePlan
impl MergePlan
pub fn for_merge_command( repo: &Repository, graph: &mut CommitGraphIndex<'_>, current_state_id: &StateId, target_state_id: &StateId, labels: ConflictLabels<'_>, ) -> Result<Self>
pub fn for_thread_preview( repo: &Repository, graph: &mut CommitGraphIndex<'_>, target_state_id: &StateId, thread_state_id: &StateId, labels: ConflictLabels<'_>, ) -> Result<Self>
pub fn relation(&self) -> &MergeRelation
pub fn merge_result(&self) -> Option<&TreeMergeResult>
pub fn structured_conflicts(&self) -> Option<&StructuredConflict>
Auto Trait Implementations§
impl Freeze for MergePlan
impl RefUnwindSafe for MergePlan
impl Send for MergePlan
impl Sync for MergePlan
impl Unpin for MergePlan
impl UnsafeUnpin for MergePlan
impl UnwindSafe for MergePlan
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