pub enum BranchCheck {
Ok,
Stale {
log_branch: String,
current_branch: String,
},
Unknown,
}Expand description
Result of a stale-branch check.
Variants§
Ok
Current branch matches the intent log — safe to proceed.
Stale
The intent log belongs to a different branch.
Unknown
No branch recorded in the log (legacy format) — safe to proceed.
Auto Trait Implementations§
impl Freeze for BranchCheck
impl RefUnwindSafe for BranchCheck
impl Send for BranchCheck
impl Sync for BranchCheck
impl Unpin for BranchCheck
impl UnsafeUnpin for BranchCheck
impl UnwindSafe for BranchCheck
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