Skip to main content

atomic_write_bytes

Function atomic_write_bytes 

Source
pub fn atomic_write_bytes(
    target: &Path,
    bytes: &[u8],
) -> Result<(), AtomicWriteError>
Expand description

Atomically write bytes to target, fsyncing the parent directory afterward.