()
| 65 | }) |
| 66 | |
| 67 | export function ripgrepCommand(): { |
| 68 | rgPath: string |
| 69 | rgArgs: string[] |
| 70 | argv0?: string |
| 71 | } { |
| 72 | const config = getRipgrepConfig() |
| 73 | return { |
| 74 | rgPath: config.command, |
| 75 | rgArgs: config.args, |
| 76 | argv0: config.argv0, |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | const MAX_BUFFER_SIZE = 20_000_000 // 20MB; large monorepos can have 200k+ files |
| 81 |
no outgoing calls
no test coverage detected