(path)
| 721 | } |
| 722 | |
| 723 | shortPath(path) { |
| 724 | // Show just the filename for readability |
| 725 | if (!path) |
| 726 | return path; |
| 727 | const slash = path.lastIndexOf('/'); |
| 728 | if (slash >= 0) |
| 729 | return path.slice(slash + 1); |
| 730 | return path; |
| 731 | } |
| 732 | |
| 733 | isExpandable(item) { |
| 734 | return item && item.flags && item.flags.charAt(0) === '+'; |
no test coverage detected