Skip to main content

write_example_config

Function write_example_config 

Source
pub fn write_example_config(path: &Path, overwrite: Overwrite) -> Result
Expand description

Writes the example configuration to a filesystem path.

New files use private permissions. Overwrite::Allow retains an existing file beside the replacement with a .bak suffix.