Skip to main content

atomic_write

Function atomic_write 

Source
fn atomic_write(path: &Path, content: &[u8], mode: u32) -> Result<()>
Expand description

Replaces a file through a same-directory durable temporary file.