Skip to main content

prepare

Function prepare 

Source
pub fn prepare(
    reg: &LoadedRegistry,
    control_id: &str,
    opts: &PrepareOpts,
) -> Result<PrepareContext>
Expand description

Allocate a run directory, snapshot scope, write prepare.json, drop the .run-pending sentinel, and return the prepare context. Holds the root lock for the duration so concurrent prepares serialise.