Skip to main content

write_record

Function write_record 

Source
pub fn write_record(dir: &Path, record: &InstanceRecord) -> Result<()>
Expand description

Write record atomically (temp file in the same folder, then rename). The temp file is created owner-only on Unix; on Windows the folder inherits the user’s own profile ACL.