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

Function pathSegments

graph-ui/src/app/module-qn.ts:93–95  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

91
92/** Die Segmente eines Pfades, wie die Breadcrumb sie zeigt. */
93export function pathSegments(filePath: string): string[] {
94 return normalizeWorkspacePath(filePath).split('/').filter((segment) => segment.length > 0);
95}
96
97/** Der Dateiname ohne Verzeichnisse. Der Name eines Tabs. */
98export function baseName(filePath: string): string {

Callers 3

ProjectWindowViewFunction · 0.90
module-qn.test.tsFile · 0.90
baseNameFunction · 0.85

Calls 1

normalizeWorkspacePathFunction · 0.85

Tested by

no test coverage detected