pub fn list_all_files<P: AsRef<Path>, F: Fn(&Path) -> bool>(
path: P,
predicate: F,
) -> Result<Vec<PathBuf>>Expand description
Helper to list all files recursively under the given path, while filtering result (files only) with a custom predicate.