atomic_write_text

Function atomic_write_text 

Source
pub fn atomic_write_text<P: AsRef<Path>>(
    path: P,
    text: &str,
) -> Result<(), AicoError>
Expand description

Atomically write text to a file using a temporary file + rename strategy.