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.
pub fn save_lockfile(config_dir: &Path, lockfile: &ModuleLockfile) -> Result<()>Save the module lockfile to <config_dir>/modules.lock.
Uses atomic_write_str (temp file + rename) to prevent corruption.