pub fn write_lockfile( path: &Path, lock: &BaselineLock, overwrite: bool, ) -> Result<(), BaselineError>