pub struct WorktreeOptions {
pub worktrees_root: Option<PathBuf>,
pub cleanup_on_destroy: bool,
pub prefer_git: bool,
}Expand description
Options for WorktreeBackend.
Fields§
§worktrees_root: Option<PathBuf>Directory root for worktrees ($KEEL_HOME/worktrees by default).
cleanup_on_destroy: boolIf true, remove the worktree on destroy (default true for ephemeral tasks).
prefer_git: boolPrefer git worktree when possible (default true).
Trait Implementations§
Source§impl Clone for WorktreeOptions
impl Clone for WorktreeOptions
Source§fn clone(&self) -> WorktreeOptions
fn clone(&self) -> WorktreeOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WorktreeOptions
impl Debug for WorktreeOptions
Source§impl Default for WorktreeOptions
impl Default for WorktreeOptions
Source§fn default() -> WorktreeOptions
fn default() -> WorktreeOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WorktreeOptions
impl RefUnwindSafe for WorktreeOptions
impl Send for WorktreeOptions
impl Sync for WorktreeOptions
impl Unpin for WorktreeOptions
impl UnsafeUnpin for WorktreeOptions
impl UnwindSafe for WorktreeOptions
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