MCPcopy Index your code
hub / github.com/forloopcodes/contextplus / isNavigableSourceCandidate

Function isNavigableSourceCandidate

src/tools/semantic-navigate.ts:67–69  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

65}
66
67function isNavigableSourceCandidate(filePath: string): boolean {
68 return isSupportedFile(filePath) && !NON_CODE_NAVIGATE_EXTENSIONS.has(extname(filePath).toLowerCase());
69}
70
71async function chatCompletion(prompt: string): Promise<string> {
72 if (EMBED_PROVIDER === "openai") {

Callers 1

semanticNavigateFunction · 0.85

Calls 1

isSupportedFileFunction · 0.85

Tested by

no test coverage detected