Skip to main content

write_lockfile

Function write_lockfile 

Source
pub fn write_lockfile(path: &Path, lock: &Lockfile) -> Result<()>
Expand description

Serializes lock to TOML and writes it to path, replacing any existing file. The written file carries the LOCKFILE_HEADER comment.