Skip to main content

create_path

Function create_path 

Source
pub fn create_path(path: &str, file: bool) -> Result<PathBuf, Box<dyn Error>>
Expand description

Create a path, optionally creating a file at the path. If file is true, creates the file; otherwise creates a directory.