Skip to main content

collect_files

Function collect_files 

Source
pub fn collect_files(
    globs: &[String],
    exclude: &[String],
) -> Result<Vec<PathBuf>>
Expand description

Collect input files from globs/directories, applying exclude filters.

§Errors

Returns an error if a glob pattern is invalid or a directory cannot be walked.