(path: string)
| 204 | }; |
| 205 | |
| 206 | const normalizeTreePath = (path: string): string => { |
| 207 | const withoutLeading = path.replace(/^\/+/, ''); |
| 208 | return withoutLeading.replace(/\/+$/, ''); |
| 209 | } |
| 210 | |
| 211 | const joinTreePath = (parentPath: string, name: string): string => { |
| 212 | if (!parentPath) { |