pub fn collect_files( root: &Path, filter: impl Fn(&Path) -> bool, ) -> Result<Vec<PathBuf>>
Walk root collecting files that pass filter, skipping excluded dirs.
root
filter