Skip to main content

write

Function write 

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

Write text to path in a way that leaves either the old draft or the new one, never half of one.