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

Function areaLevels

graph-ui/src/architecture/repository-map.ts:53–53  ·  view source on GitHub ↗
(area: string)

Source from the content-addressed store, hash-verified

51
52/** The drill-in steps from the repository root down to an area taken from a trail. */
53export const areaLevels = (area: string): string[] => area === '(root)' ? [area] : areaTrail(`${area}/-`);
54
55const isSource = (node: GraphNode) => Boolean(node.file_path && node.file_path !== '{}'
56 && !['Project', 'Folder', 'Package', 'Branch'].includes(node.label));

Callers 3

SpatialArchitectureFunction · 0.90
buildSemanticGraphFunction · 0.90

Calls 1

areaTrailFunction · 0.85

Tested by

no test coverage detected