Skip to main content

write_record

Function write_record 

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

Write record atomically (temp file, then rename) with mode 0600 on Unix at open time, the same care reactive::registry::write_entry_file takes for the shared registry, which also holds keys. On Windows the file inherits the user-only ACL of the user’s own profile directory.