Skip to main content

create_file

Function create_file 

Source
pub fn create_file(path: &Path) -> Result<File>
Expand description

Open path for writing, truncating it, creating it owner-only when missing.

@throws io::Error - When the file cannot be opened.