pub enum BaseSyncVerdict {
NotApplicable,
Current,
Behind {
kind: BehindKind,
ahead: u64,
behind: u64,
base: String,
allowed: bool,
},
Undeterminable {
why: String,
},
}Expand description
Outcome of R6 (not-behind-base): is the current feature branch up to date
with base? Fail-closed — anything we can’t determine (BaseSyncVerdict::Undeterminable)
fails. Behind fails unless allowed (gkit.allowDiverged), in which case it
passes but is surfaced as a default-level marker.
Variants§
NotApplicable
On an integration branch (base/main/master) — not feature work (passes).
Current
Feature branch, not behind base (passes).
Behind
Feature branch behind base. Fails unless allowed.
Undeterminable
Couldn’t determine sync vs base (absent base ref, detached) — fails.
Implementations§
Trait Implementations§
Source§impl Clone for BaseSyncVerdict
impl Clone for BaseSyncVerdict
Source§fn clone(&self) -> BaseSyncVerdict
fn clone(&self) -> BaseSyncVerdict
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BaseSyncVerdict
impl Debug for BaseSyncVerdict
impl Eq for BaseSyncVerdict
Source§impl PartialEq for BaseSyncVerdict
impl PartialEq for BaseSyncVerdict
Source§fn eq(&self, other: &BaseSyncVerdict) -> bool
fn eq(&self, other: &BaseSyncVerdict) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BaseSyncVerdict
Auto Trait Implementations§
impl Freeze for BaseSyncVerdict
impl RefUnwindSafe for BaseSyncVerdict
impl Send for BaseSyncVerdict
impl Sync for BaseSyncVerdict
impl Unpin for BaseSyncVerdict
impl UnsafeUnpin for BaseSyncVerdict
impl UnwindSafe for BaseSyncVerdict
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.