pub struct MoveWorktreeOptions {
pub force: bool,
pub dry_run: bool,
}Expand description
Options for move_linked_worktree.
Fields§
§force: boolAllow move when the worktree is locked (Git requires -f twice; grit uses one --force).
dry_run: boolReport the move without changing disk state.
Trait Implementations§
Source§impl Clone for MoveWorktreeOptions
impl Clone for MoveWorktreeOptions
Source§impl Debug for MoveWorktreeOptions
impl Debug for MoveWorktreeOptions
Auto Trait Implementations§
impl Freeze for MoveWorktreeOptions
impl RefUnwindSafe for MoveWorktreeOptions
impl Send for MoveWorktreeOptions
impl Sync for MoveWorktreeOptions
impl Unpin for MoveWorktreeOptions
impl UnsafeUnpin for MoveWorktreeOptions
impl UnwindSafe for MoveWorktreeOptions
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