(root: string, segments: readonly string[])
| 274 | } |
| 275 | |
| 276 | function joinPath(root: string, segments: readonly string[]): string { |
| 277 | return [root, ...segments].filter(Boolean).join('/'); |
| 278 | } |
| 279 | |
| 280 | /** The first `levels` levels of `dirs`, a chain of three or more folders written `first/…/last`. */ |
| 281 | function levelLabel(root: string, dirs: readonly string[], ends: readonly number[]): string { |
no test coverage detected