/// Creates the dir if non existent.
Creates the dir if non existent.
Creates the dir if non existent .
pub fn create_dir_if_non_existent(path: &Path) -> crate::Result<()> {
    if !path.exists() {
        fs::create_dir_all(path)?;
        info!("directory {} created.", to_utf(path));
    }
    Ok(())
}
pub fn create_dir_if_non_existent ( path : & Path ) -> crate :: Result < ( ) > { if ! path . exists ( ) { fs :: create_dir_all ( path ) ? ; info ! ( " " to_utf ( path ) ) ; } Ok ( ( ) ) }
Creates the dir if non existent.
Creates the dir if non existent .
path
&Path