run_make_support::path_helpers

Function shallow_find_files

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

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