Skip to main content

atomic_write_string

Function atomic_write_string 

Source
pub async fn atomic_write_string(
    target: impl AsRef<Path>,
    value: &str,
) -> Result<(), FsError>
Expand description

Atomically replace a file with UTF-8 text.