MCPcopy Index your code
hub / github.com/continuedev/continue / checkIfRipgrepIsInstalled

Function checkIfRipgrepIsInstalled

extensions/cli/src/tools/searchCode.ts:29–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27
28// procedure 1: search with ripgrep
29export async function checkIfRipgrepIsInstalled(): Promise<boolean> {
30 try {
31 await execPromise("rg --version");
32 return true;
33 } catch {
34 return false;
35 }
36}
37
38async function searchWithRipgrep(
39 pattern: string,

Callers 2

searchCode.tsFile · 0.85
getAllAvailableToolsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected