create_file

Function create_file 

Source
pub fn create_file<P: Into<PathBuf> + AsRef<Path>>(path: P) -> Result<()>
Expand description

Create an empty file if it doesn’t already exist

§Errors

May return any of the same errors as std::fs::open