(glob: string)
| 16 | const TRUNCATION_MESSAGE = `(Results truncated. Consider using a more specific path or pattern, specifying a repo, or increasing the limit.)`; |
| 17 | |
| 18 | function globToFileRegexp(glob: string): string { |
| 19 | const re = globToRegexp(glob, { extended: true, globstar: true }); |
| 20 | return re.source.replace(/^\^/, ''); |
| 21 | } |
| 22 | |
| 23 | const grepShape = { |
| 24 | pattern: z |