Skip to main content

save_sop

Function save_sop 

pub fn save_sop(sops_dir: &Path, sop: &Sop) -> Result<()>
Expand description

Persist an SOP to <sops_dir>/<name>/ as SOP.toml + SOP.md. Normalizes step numbers first, then rejects the write entirely if strict validation finds blocking problems; nothing touches disk on failure.