MCPcopy Create free account
hub / github.com/PatrickSys/codebase-context / isActionOrHowQuery

Method isActionOrHowQuery

src/core/search.ts:495–499  ·  view source on GitHub ↗
(query: string)

Source from the content-addressed store, hash-verified

493 }
494
495 private isActionOrHowQuery(query: string): boolean {
496 return /\b(how|where|configure|configured|setup|register|wire|wiring|navigate|redirect|login|authenticate|copy|upload|handle|create|update|delete)\b/i.test(
497 query
498 );
499 }
500
501 private isDefinitionHeavyResult(chunk: CodeChunk): boolean {
502 const normalizedPath = chunk.filePath.toLowerCase().replace(/\\/g, '/');

Callers 1

scoreAndSortResultsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected