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

Function pathsMatch

src/tools/search-codebase.ts:325–327  ·  view source on GitHub ↗
(a: string, b: string)

Source from the content-addressed store, hash-verified

323 }
324
325 function pathsMatch(a: string, b: string): boolean {
326 return a === b || a.endsWith(b) || b.endsWith(a);
327 }
328
329 const resultPathSet = new Set(results.map((result) => normalizeGraphPath(result.filePath)));
330 const resultSymbolSet = new Set(

Callers 2

findImportDetailFunction · 0.85
collectImportersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected