Skip to main content

create_operation_plan

Function create_operation_plan 

Source
pub fn create_operation_plan(
    layout: &BackupLayoutGuard,
    record: &OperationPlanRecord,
) -> Result<(), OperationPlanPersistenceError>
Expand description

Durably create fixed operation-plan.json without replacing prior evidence.

The embedded inventory/graph are the declaration’s original bindings; separate retained inventory/graph files are not adopted or rewritten by this operation.

§Errors

Rejects excessive canonical bytes, unsafe/existing entries, replaced roots and IO/locks.