Skip to main content

replace_flushed

Function replace_flushed 

Source
fn replace_flushed(path: &Path, text: &str) -> Result<(), String>
Expand description

A file written whole beside, flushed, then put in place: a crash leaves the old one or the new one, never an empty one.