Function shallow_find_directories

Source
pub fn shallow_find_directories<P: AsRef<Path>, F: Fn(&PathBuf) -> bool>(
    path: P,
    filter: F,
) -> Vec<PathBuf>
Expand description

Browse the directory path non-recursively and return all directories which respect the parameters outlined by closure.