Skip to main content

write_if_absent

Function write_if_absent 

Source
fn write_if_absent(path: &Path, content: &str) -> Result<()>
Expand description

Write content to path only if the file does not already exist.