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