pub enum MonorepoNodeExecutionStep {
ValidateDest,
InitRepo,
FetchContent {
state: StateId,
},
MaterializeState {
state: StateId,
},
RecordMapping,
}Expand description
One pure execution step for materializing a single monorepo node.
Order is fixed by plan_monorepo_node_steps. Fetch/materialize carry the
content-state payload so the CLI does not re-branch on Option.
Variants§
ValidateDest
Ensure mount destination is usable (parent dirs, create dest path).
InitRepo
Initialize a Heddle repository at the mount (Repository::init).
FetchContent
Hosted fetch of the node’s content-state object closure.
MaterializeState
Materialize worktree from the fetched state
(goto_from_materialized_state).
RecordMapping
Seed origin/remote mapping so the placed spool tracks its upstream.
Implementations§
Trait Implementations§
Source§impl Clone for MonorepoNodeExecutionStep
impl Clone for MonorepoNodeExecutionStep
Source§fn clone(&self) -> MonorepoNodeExecutionStep
fn clone(&self) -> MonorepoNodeExecutionStep
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 MonorepoNodeExecutionStep
impl Debug for MonorepoNodeExecutionStep
impl Eq for MonorepoNodeExecutionStep
impl StructuralPartialEq for MonorepoNodeExecutionStep
Auto Trait Implementations§
impl Freeze for MonorepoNodeExecutionStep
impl RefUnwindSafe for MonorepoNodeExecutionStep
impl Send for MonorepoNodeExecutionStep
impl Sync for MonorepoNodeExecutionStep
impl Unpin for MonorepoNodeExecutionStep
impl UnsafeUnpin for MonorepoNodeExecutionStep
impl UnwindSafe for MonorepoNodeExecutionStep
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