Skip to main content

load_sop_by_name

Function load_sop_by_name 

pub fn load_sop_by_name(
    sops_dir: &Path,
    name: &str,
    default_execution_mode: SopExecutionMode,
) -> Result<Sop, Error>
Expand description

Load a single SOP by directory name from the SOPs root. Errors if the directory or its SOP.toml is missing or malformed.