Skip to main content

matching_package_files

Function matching_package_files 

Source
pub fn matching_package_files<P: AsRef<str>>(
    package_root: &str,
    files: &[P],
    ignored_dirs: &[&str],
    predicate: impl Fn(&str) -> bool,
) -> Vec<String>