fn is_accessible_directory(repository_path: &Path) -> bool {
    match std::fs::metadata(repository_path) {
        Err(_) => false,
        Ok(metadata) => metadata.is_dir(),
    }
}
// return true if the given repository path leads to an accessible directory.
return true if the given repository path leads to an accessible directory.
return true if the given repository path leads to an accessible directory .
fn is_accessible_directory(repository_path: &Path) -> bool {
    match std::fs::metadata(repository_path) {
        Err(_) => false,
        Ok(metadata) => metadata.is_dir(),
    }
}
fn is_accessible_directory ( repository_path : & Path ) -> bool { match std :: fs :: metadata ( repository_path ) { Err ( _ ) => false , Ok ( metadata ) => metadata . is_dir ( ) , } }
return true if the given repository path leads to an accessible directory.
return true if the given repository path leads to an accessible directory .
repository_path
&Path
repository_path
&Path