Function atomic_write_plain

Source
pub fn atomic_write_plain(
    path: &Path,
    content: &[u8],
    fsync: bool,
) -> Result<()>
Expand description

Atomically create or replace a file with the given content. Use a plain file. Do not use symlinks.