MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / moduleRoute

Function moduleRoute

graph-ui/src/reader/file-source.test.ts:28–34  ·  view source on GitHub ↗
(qualifiedName: string, endLine: number)

Source from the content-addressed store, hash-verified

26}
27
28function moduleRoute(qualifiedName: string, endLine: number): Route {
29 return {
30 tool: 'query_graph',
31 when: queryContains('MATCH (n:Module)'),
32 text: rowsText(MODULE_COLUMNS, [[qualifiedName, '"1"', `"${endLine}"`]]),
33 };
34}
35
36const noModuleRoute: Route = {
37 tool: 'query_graph',

Callers 1

Calls 2

queryContainsFunction · 0.90
rowsTextFunction · 0.90

Tested by

no test coverage detected