(filePath: string, patterns: string[])
| 24 | } |
| 25 | |
| 26 | function matchesPattern(filePath: string, patterns: string[]): boolean { |
| 27 | const normalized = normalizePath(filePath); |
| 28 | return patterns.some((pattern) => normalized.includes(pattern.toLowerCase())); |
| 29 | } |
| 30 | |
| 31 | function dedupeByFile(results: SearchResult[]): SearchResult[] { |
| 32 | const seen = new Set<string>(); |
no test coverage detected