pub struct RunOptions {
pub cwd: Option<PathBuf>,
pub root: Option<PathBuf>,
pub environment: EnvironmentInput,
pub config: Option<PathBuf>,
pub no_init_script: bool,
pub strict: bool,
pub force: bool,
pub dry_run: bool,
pub verbose: bool,
pub skip_commands: bool,
}Expand description
Options for running worktree bootstrap.
Fields§
§cwd: Option<PathBuf>Directory from which the run starts. Defaults to the process cwd.
root: Option<PathBuf>Overrides the root checkout used as the file-operation source.
environment: EnvironmentInputExplicit environment input used for compatibility discovery and options.
config: Option<PathBuf>Uses one specific config file and skips init script discovery.
no_init_script: boolSkips init script discovery and uses declarative config discovery.
strict: boolFails on missing config and stricter file-operation conflicts.
force: boolReplaces existing file-operation targets where supported.
dry_run: boolPrints planned work without changing files or running commands.
verbose: boolPrints detailed file-operation actions instead of compact summaries.
skip_commands: boolRuns file operations only.
Trait Implementations§
Source§impl Clone for RunOptions
impl Clone for RunOptions
Source§fn clone(&self) -> RunOptions
fn clone(&self) -> RunOptions
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 RunOptions
impl Debug for RunOptions
Source§impl Default for RunOptions
impl Default for RunOptions
Source§fn default() -> RunOptions
fn default() -> RunOptions
Returns the “default value” for a type. Read more
impl Eq for RunOptions
Source§impl PartialEq for RunOptions
impl PartialEq for RunOptions
Source§fn eq(&self, other: &RunOptions) -> bool
fn eq(&self, other: &RunOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RunOptions
Auto Trait Implementations§
impl Freeze for RunOptions
impl RefUnwindSafe for RunOptions
impl Send for RunOptions
impl Sync for RunOptions
impl Unpin for RunOptions
impl UnsafeUnpin for RunOptions
impl UnwindSafe for RunOptions
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