MCPcopy Create free account
hub / github.com/Noumena-Network/code / ripgrepCommand

Function ripgrepCommand

src/utils/ripgrep.ts:59–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57})
58
59export 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
72const MAX_BUFFER_SIZE = 20_000_000 // 20MB; large monorepos can have 200k+ files
73

Callers 8

ripgrep.test.tsFile · 0.85
ripGrepRawFunction · 0.85
ripGrepFileCountFunction · 0.85
ripGrepStreamFunction · 0.85
sandbox-adapter.tsFile · 0.85
packageSmoke.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected