pub fn atomic_write_bytes( target: &Path, bytes: &[u8], ) -> Result<(), AtomicWriteError>
Atomically write bytes to target, fsyncing the parent directory afterward.
bytes
target