create_or_truncate_file_with_dirs

Function create_or_truncate_file_with_dirs 

Source
fn create_or_truncate_file_with_dirs<P: AsRef<Path>>(path: P) -> Result<File>
Expand description

Create or truncate a file at the given path, creating any missing parent directories.