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

Function parentPath

graph-ui/src/app/tree-model.ts:270–273  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

268
269/** Der Pfad des Ordners ueber diesem Pfad. Leer heisst Projektwurzel. */
270export function parentPath(path: string): string {
271 const slash = path.lastIndexOf('/');
272 return slash === -1 ? '' : path.slice(0, slash);
273}
274
275/**
276 * Die sichtbaren Zeilen: die Wurzel-Ebene, und unter jedem aufgeklappten

Callers 3

ProjectWindowViewFunction · 0.90
tree-model.test.tsFile · 0.90
graftPathFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected