(filePath: string)
| 91 | |
| 92 | /** Die Segmente eines Pfades, wie die Breadcrumb sie zeigt. */ |
| 93 | export 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. */ |
| 98 | export function baseName(filePath: string): string { |
no test coverage detected