Function should_exclude

Source
pub fn should_exclude(
    file_path: &str,
    exclude_patterns: &[String],
    respect_gitignore: bool,
) -> bool
Expand description

Should exclude a file based on patterns

This function checks if a file should be excluded based on a list of glob patterns.