()
| 57 | }) |
| 58 | |
| 59 | export function ripgrepCommand(): { |
| 60 | rgPath: string |
| 61 | rgArgs: string[] |
| 62 | argv0?: string |
| 63 | } { |
| 64 | const config = getRipgrepConfig() |
| 65 | return { |
| 66 | rgPath: config.command, |
| 67 | rgArgs: config.args, |
| 68 | argv0: config.argv0, |
| 69 | } |
| 70 | } |
| 71 | |
| 72 | const MAX_BUFFER_SIZE = 20_000_000 // 20MB; large monorepos can have 200k+ files |
| 73 |
no outgoing calls
no test coverage detected