Create A Parent Directory For A File In Rust
Code
use fs;
use PathBuf;
// TODO: Figure out how to pass an error here with
// `Error`` of some type
Results
Made the dir
-
Update this so it checks if the directory exists before trying to create (which I think is a problem that's causing an error)