Skip to main content

create_file_validated

Function create_file_validated 

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

Create or truncate a file only after validating the write path.