MCPcopy Create free account
hub / github.com/codeaashu/claude-code / getRipgrepStatus

Function getRipgrepStatus

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

Source from the content-addressed store, hash-verified

533 * Returns current configuration immediately, with working status if available
534 */
535export function getRipgrepStatus(): {
536 mode: 'system' | 'builtin' | 'embedded'
537 path: string
538 working: boolean | null // null if not yet tested
539} {
540 const config = getRipgrepConfig()
541 return {
542 mode: config.mode,
543 path: config.command,
544 working: ripgrepStatus?.working ?? null,
545 }
546}
547
548/**
549 * Test ripgrep availability on first use and cache the result

Callers 1

getDoctorDiagnosticFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected