pub struct PlanMerge<'vf> {
pub a_rev: Vec<u8>,
pub b_rev: Vec<u8>,
pub key_prefix: Vec<Vec<u8>>,
/* private fields */
}Expand description
Annotate-based merge planner. Mirrors bzrformats.merge._PlanMerge.
Builds an in-memory weave from the per-file graph between the two tips
(back to their recursive LCAs) and runs Weave.plan_merge over it.
When one tip dominates the other in the per-file graph, short-circuits
to tagging every line of the dominating text new-a/new-b.
Fields§
§a_rev: Vec<u8>§b_rev: Vec<u8>§key_prefix: Vec<Vec<u8>>Implementations§
Auto Trait Implementations§
impl<'vf> !RefUnwindSafe for PlanMerge<'vf>
impl<'vf> !UnwindSafe for PlanMerge<'vf>
impl<'vf> Freeze for PlanMerge<'vf>
impl<'vf> Send for PlanMerge<'vf>
impl<'vf> Sync for PlanMerge<'vf>
impl<'vf> Unpin for PlanMerge<'vf>
impl<'vf> UnsafeUnpin for PlanMerge<'vf>
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