pub fn matches_gitignore_pattern(pattern: &str, path: &str) -> bool
Check if a path matches a gitignore pattern