()
| 117 | } |
| 118 | |
| 119 | export function ripgrepCommand(): { |
| 120 | rgPath: string |
| 121 | rgArgs: string[] |
| 122 | argv0?: string |
| 123 | } { |
| 124 | const config = getRipgrepConfig() |
| 125 | return { |
| 126 | rgPath: config.command, |
| 127 | rgArgs: config.args, |
| 128 | argv0: config.argv0, |
| 129 | } |
| 130 | } |
| 131 | |
| 132 | const MAX_BUFFER_SIZE = 20_000_000 // 20MB; large monorepos can have 200k+ files |
| 133 |
no outgoing calls
no test coverage detected