(tokens: string[])
| 246 | } |
| 247 | |
| 248 | function parseList(tokens: string[]): ExploreEntry { |
| 249 | const paths = findPathTokens(tokens); |
| 250 | const path = paths[paths.length - 1]; |
| 251 | return { kind: "list", label: path || tokens[0] }; |
| 252 | } |
| 253 | |
| 254 | function parseCommandSegment(command: string): ExploreEntry[] | null { |
| 255 | const tokens = tokenizeCommand(command); |
no test coverage detected