pub enum BranchPlan {
Reuse,
Track(String),
Create(String),
}Expand description
Git branch action to use when adding the linked worktree.
Variants§
Reuse
Check out the existing local branch.
Track(String)
Add the supplied roots to the project catalog configuration.
Create(String)
Create the local branch at the supplied starting revision.
Trait Implementations§
Source§impl Clone for BranchPlan
impl Clone for BranchPlan
Auto Trait Implementations§
impl Forget for BranchPlan
impl Freeze for BranchPlan
impl Move for BranchPlan
impl RefUnwindSafe for BranchPlan
impl Send for BranchPlan
impl Sync for BranchPlan
impl Unpin for BranchPlan
impl UnsafeUnpin for BranchPlan
impl UnwindSafe for BranchPlan
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