pub fn shallow_find_files<P: AsRef<Path>, F: Fn(&PathBuf) -> bool>( path: P, filter: F, ) -> Vec<PathBuf>
Browse the directory path non-recursively and return all files which respect the parameters outlined by closure.
path
closure