MCPcopy Index your code
hub / github.com/PatrickSys/codebase-context / makeSearchResult

Function makeSearchResult

tests/eval-harness.test.ts:41–46  ·  view source on GitHub ↗
(filePath: string, score: number)

Source from the content-addressed store, hash-verified

39}
40
41function makeSearchResult(filePath: string, score: number): SearchResult {
42 return {
43 filePath,
44 score
45 } as SearchResult;
46}
47
48function setupSearcherWithResultsByQuery(
49 byQuery: Record<string, SearchResult[]>,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected