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

Function definitionEdge

graph-ui/src/galaxy/reader-hierarchy.ts:20–20  ·  view source on GitHub ↗
(type: string)

Source from the content-addressed store, hash-verified

18 || (a.start_line ?? 0) - (b.start_line ?? 0)
19 || compareText(a.qualified_name ?? a.name, b.qualified_name ?? b.name) || a.id - b.id;
20const definitionEdge = (type: string) => /^(DEFINES(?:_|$)|CONTAINS$|DECLARES$)/.test(type);
21
22/** File definitions and their direct relationships, using only the loaded graph. */
23export function projectReaderHierarchy(

Callers 1

projectReaderHierarchyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected