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

Function getRipgrepStatus

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

Source from the content-addressed store, hash-verified

525 * Returns current configuration immediately, with working status if available
526 */
527export function getRipgrepStatus(): {
528 mode: 'system' | 'builtin'
529 path: string
530 working: boolean | null // null if not yet tested
531} {
532 const config = getRipgrepConfig()
533 return {
534 mode: config.mode,
535 path: config.command,
536 working: ripgrepStatus?.working ?? null,
537 }
538}
539
540/**
541 * 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