pub struct ThreadPromoteOptions {
pub force: bool,
pub path: Option<PathBuf>,
pub default_path: PathBuf,
pub mode: ThreadMode,
pub execution_path: PathBuf,
pub materialized_path: Option<PathBuf>,
pub execution_path_exists: bool,
pub execution_path_is_repo_root: bool,
pub execution_path_has_heddle: bool,
}Expand description
Caller-supplied facts for pure promote preflight (no I/O).
Fields§
§force: bool§path: Option<PathBuf>Explicit --path from the caller, if any.
default_path: PathBufCanonical managed checkout path (repo.managed_checkout_path(id)).
Used when path is None so promote lands under the same layout as
start / the per-thread manifest (heddle#572).
mode: ThreadMode§execution_path: PathBuf§materialized_path: Option<PathBuf>§execution_path_exists: bool§execution_path_is_repo_root: bool§execution_path_has_heddle: boolTrait Implementations§
Source§impl Clone for ThreadPromoteOptions
impl Clone for ThreadPromoteOptions
Source§fn clone(&self) -> ThreadPromoteOptions
fn clone(&self) -> ThreadPromoteOptions
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 ThreadPromoteOptions
impl Debug for ThreadPromoteOptions
impl Eq for ThreadPromoteOptions
Source§impl PartialEq for ThreadPromoteOptions
impl PartialEq for ThreadPromoteOptions
impl StructuralPartialEq for ThreadPromoteOptions
Auto Trait Implementations§
impl Freeze for ThreadPromoteOptions
impl RefUnwindSafe for ThreadPromoteOptions
impl Send for ThreadPromoteOptions
impl Sync for ThreadPromoteOptions
impl Unpin for ThreadPromoteOptions
impl UnsafeUnpin for ThreadPromoteOptions
impl UnwindSafe for ThreadPromoteOptions
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