pub enum GitScope {
None,
Staged,
WorktreeAll,
}Expand description
How far a save should write through into Git (Git-overlay only).
Variants§
None
Heddle state only — no Git checkpoint (capture; native commit).
Staged
Checkpoint the staged Git index boundary (caller supplies the tree).
WorktreeAll
Capture/checkpoint the full worktree (or current clean state).
Trait Implementations§
impl Copy for GitScope
impl Eq for GitScope
impl StructuralPartialEq for GitScope
Auto Trait Implementations§
impl Freeze for GitScope
impl RefUnwindSafe for GitScope
impl Send for GitScope
impl Sync for GitScope
impl Unpin for GitScope
impl UnsafeUnpin for GitScope
impl UnwindSafe for GitScope
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