fn verify_or_create(dir: &Path) -> crate::Result<()> {
    if dir.is_dir() {
        return Ok(());
    }
    Ok(fs::create_dir_all(dir)?)
}
/// verify that the folder exists or create it.
verify that the folder exists or create it.
verify that the folder exists or create it .
fn verify_or_create(dir: &Path) -> crate::Result<()> {
    if dir.is_dir() {
        return Ok(());
    }
    Ok(fs::create_dir_all(dir)?)
}
fn verify_or_create ( dir : & Path ) -> crate :: Result < ( ) > { if dir . is_dir ( ) { return Ok ( ( ) ) ; } Ok ( fs :: create_dir_all ( dir ) ? ) }
verify that the folder exists or create it.
verify that the folder exists or create it .
dir
&Path