Function try_create_dir

Source
pub fn try_create_dir<P>(path: P) -> Result<bool>
where P: AsRef<Path>,
Expand description

Try to create a dir at the given path.

ยงReturns

Returns Ok(true) if the dir was created. Returns Ok(false) if the dir already exists. Returns and error if there was an error creating the dir.