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

Function dir

graph-ui/src/app/AtlasTree.test.tsx:36–45  ·  view source on GitHub ↗
(path: string, expanded: boolean, depth = 0)

Source from the content-addressed store, hash-verified

34});
35
36const dir = (path: string, expanded: boolean, depth = 0): TreeRow => ({
37 name: path.split('/').pop() ?? path,
38 path,
39 kind: 'dir',
40 symbols: 10,
41 files: 2,
42 depth,
43 expanded,
44 loaded: true,
45});
46
47const file = (path: string, depth = 1): TreeRow => ({
48 name: path.split('/').pop() ?? path,

Callers 2

propsFunction · 0.85
AtlasTree.test.tsxFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected