pub struct DestinationReconcilePlan {
pub writes: Vec<PlannedRefWrite>,
pub deletes: Vec<PlannedRefDelete>,
pub new_manifest: HashMap<String, ObjectId>,
}Expand description
The ONE reconciliation plan EVERY push destination applies, so its published refs converge to the served frontier by construction.
Fields§
§writes: Vec<PlannedRefWrite>Survivors to write — creations, fast-forwards, and FORCED embargo rewinds.
deletes: Vec<PlannedRefDelete>Previously-exported refs the mirror no longer serves AND that still exist at the destination — to delete. Scoped to heddle-owned refs (never foreign).
new_manifest: HashMap<String, ObjectId>The exported-refs record to persist for this destination after the push:
full ref name → the tip heddle just published, plus the previously-recorded
tip for any ref left in place — a still-served ref out of this push’s scope
OR an out-of-band tip whose retraction was skipped (so --force can still
retract it later). A deleted ref drops out; a foreign ref never enters.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DestinationReconcilePlan
impl RefUnwindSafe for DestinationReconcilePlan
impl Send for DestinationReconcilePlan
impl Sync for DestinationReconcilePlan
impl Unpin for DestinationReconcilePlan
impl UnsafeUnpin for DestinationReconcilePlan
impl UnwindSafe for DestinationReconcilePlan
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