Function make_sure_dir_exists

Source
pub fn make_sure_dir_exists<F: AsRef<Path> + ?Sized>(f: &F) -> Result<()>
Expand description

Ensures that the parent directory for the specified path exists, creating it if necessary.