Skip to main content

write_atomic

Function write_atomic 

Source
pub fn write_atomic(path: &Path, data: &[u8]) -> Result<()>
Expand description

Atomic write: write to temp file in same dir, then rename.