pub struct Options {
pub base: Option<String>,
pub force: bool,
}Expand description
What to compare with, and whether to remove worktrees with changes or a missing folder too
Fields§
§base: Option<String>The branch work lands on, or the remote’s default branch, then a local main or master
force: boolAlso remove landed worktrees with changes or a missing folder. Never a worktree holding a repository, submodules, refs of its own or a rebase
Trait Implementations§
Auto Trait Implementations§
impl Forget for Options
impl Freeze for Options
impl Move for Options
impl RefUnwindSafe for Options
impl Send for Optionswhere
RawVecInner: Send,
impl Sync for Optionswhere
RawVecInner: Sync,
impl Unpin for Options
impl UnsafeUnpin for Options
impl UnwindSafe for Optionswhere
RawVecInner: UnwindSafe,
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