Function mkdirp

Source
pub fn mkdirp<P: AsRef<Path>>(path: P) -> Result<Option<PathBuf>>
Expand description

Create a new directory, ignore if it already exists.

Returns the first created directory if some of the paths already existed, None if no new directories were created.