(pattern: string)
| 176 | } |
| 177 | |
| 178 | function isMatchAllSearchPattern(pattern: string): boolean { |
| 179 | // Intentionally narrow: we only want to warn on obvious whole-file dump patterns |
| 180 | // (avoid warning on normal search). |
| 181 | const normalized = pattern.trim(); |
| 182 | return normalized === "" || normalized === "^" || normalized === ".*"; |
| 183 | } |
| 184 | |
| 185 | function isRipgrepToken(token: string): boolean { |
| 186 | const trimmed = token.trim(); |
no outgoing calls
no test coverage detected