Skip to main content

plan_change

Function plan_change 

Source
pub fn plan_change(
    current: &Plan,
    proposed: &Plan,
    reason: impl Into<String>,
) -> Result<Command, EngineError>
Expand description

Turn a reviewed full proposal into the delta command the operation log records.

The proposal is validated exactly as crate::propose_change validates it, which also refuses what a delta cannot carry: a stale revision, another format, or changed artifacts.