(level: TreeLevel)
| 311 | |
| 312 | /** Alle Ordnerpfade einer Ebene, in Anzeigeordnung. */ |
| 313 | export function directoryPaths(level: TreeLevel): string[] { |
| 314 | return level.children.filter((child) => child.kind === 'dir').map((child) => child.path); |
| 315 | } |
| 316 | |
| 317 | /** Was eine Taste im Explorer bedeutet. */ |
| 318 | export type TreeIntent = 'up' | 'down' | 'open' | 'expand' | 'collapse' | 'toParent' | 'none'; |
no outgoing calls
no test coverage detected