create_file

Function create_file 

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

Creates a file if it does not already exist. If the file already exists, it doesn’t modify its content.