(path: string)
| 330 | if (!current) return nodes |
| 331 | |
| 332 | const parent = (path: string) => { |
| 333 | const idx = path.lastIndexOf("/") |
| 334 | if (idx === -1) return "" |
| 335 | return path.slice(0, idx) |
| 336 | } |
| 337 | |
| 338 | const leaf = (path: string) => { |
| 339 | const idx = path.lastIndexOf("/") |
no outgoing calls
no test coverage detected