pub fn is_ignored_file(path: &Path, ignore_rules: &[String]) -> bool
Detect whether file is ignored based on rules similar to .gitignore