pub struct RefReconciliation {
pub applied: Vec<String>,
pub retracted: Vec<String>,
pub unreconciled: Vec<String>,
}Expand description
What Platform::reconcile_git_refs did, so a caller can report it.
An all-empty report is the normal case and the only silent one.
Fields§
§applied: Vec<String>Refs written into git because the view held a commit git already had but had not pointed at.
retracted: Vec<String>Refs the view gave up, because git can never hold the commit they named. Each one is a compensating op in the log.
unreconciled: Vec<String>Disagreements left standing, each with its reason. These need an operator: repairing them automatically would either lose history or launder an out-of-band ref into the signed log.
Implementations§
Trait Implementations§
Source§impl Debug for RefReconciliation
impl Debug for RefReconciliation
Source§impl Default for RefReconciliation
impl Default for RefReconciliation
Source§fn default() -> RefReconciliation
fn default() -> RefReconciliation
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RefReconciliation
impl RefUnwindSafe for RefReconciliation
impl Send for RefReconciliation
impl Sync for RefReconciliation
impl Unpin for RefReconciliation
impl UnsafeUnpin for RefReconciliation
impl UnwindSafe for RefReconciliation
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