Skip to main content

write_if_missing

Function write_if_missing 

Source
pub fn write_if_missing(path: &Path, contents: &str) -> Result<()>
Expand description

Write a file only if it doesn’t already exist.