pub enum MidMergeState {
Merge,
RebaseMerge,
RebaseApply,
CherryPick,
}Expand description
Describes which incomplete git operation is in progress.
Presence of the corresponding marker file/directory under .git/ is definitive —
git creates these for the duration of the operation and removes them on commit or abort.
Variants§
Merge
.git/MERGE_HEAD exists — a git merge was started but not committed.
RebaseMerge
.git/rebase-merge/ exists — a git rebase -i (or merge-based rebase) is in progress.
RebaseApply
.git/rebase-apply/ exists — a git rebase (apply-based) or git am is in progress.
CherryPick
.git/CHERRY_PICK_HEAD exists — a git cherry-pick is in progress.
Auto Trait Implementations§
impl Freeze for MidMergeState
impl RefUnwindSafe for MidMergeState
impl Send for MidMergeState
impl Sync for MidMergeState
impl Unpin for MidMergeState
impl UnsafeUnpin for MidMergeState
impl UnwindSafe for MidMergeState
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