pub enum Selection {
Paths(Vec<PathBuf>),
All {
base: PathBuf,
},
}Expand description
Which worktrees a batch rebase should target.
Variants§
Paths(Vec<PathBuf>)
Rebase exactly these worktree folders (each resolved to the worktree that contains it). A path that is the main working tree, is detached, is dirty, or is not a git worktree is reported and skipped, never rebased.
All
Rebase every linked worktree of the repository that contains base
(the process working directory). The main working tree is never included.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Selection
impl RefUnwindSafe for Selection
impl Send for Selection
impl Sync for Selection
impl Unpin for Selection
impl UnsafeUnpin for Selection
impl UnwindSafe for Selection
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