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

Function sourceNode

graph-ui/src/architecture/semantic-graph.ts:147–148  ·  view source on GitHub ↗
(node: GraphNode)

Source from the content-addressed store, hash-verified

145 return result;
146}
147const sourceNode = (node: GraphNode) => Boolean(node.file_path && node.file_path !== '{}'
148 && !['Project', 'Folder', 'Package', 'Branch', 'Route'].includes(node.label));
149const symbolNode = (node: GraphNode): SemanticNode => ({ id: symbolId(node),
150 kind: node.label === 'Route' ? 'route' : 'symbol', label: node.name,
151 detail: node.file_path ?? node.qualified_name ?? node.label, position: [0, 0, 0],

Callers 2

inScopeFunction · 0.85
buildSemanticGraphFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected