Skip to main content

write_file_if_missing

Function write_file_if_missing 

Source
pub fn write_file_if_missing(path: &Path, contents: &[u8]) -> Result<(), Error>
Expand description

Write a file only when it does not already exist.