write_atomic

Function write_atomic 

Source
fn write_atomic(tmp: &Path, final_path: &Path, bytes: &[u8]) -> Result<()>