Skip to main content

save_lockfile

Function save_lockfile 

Source
pub fn save_lockfile(config_dir: &Path, lockfile: &ModuleLockfile) -> Result<()>
Expand description

Save the module lockfile to <config_dir>/modules.lock. Uses atomic_write_str (temp file + rename) to prevent corruption.