(path string)
| 195 | } |
| 196 | |
| 197 | func (self *FileTree) ToggleCollapsed(path string) { |
| 198 | self.collapsedPaths.ToggleCollapsed(path) |
| 199 | } |
| 200 | |
| 201 | func (self *FileTree) CollapseAll() { |
| 202 | dirPaths := lo.FilterMap(self.GetAllItems(), func(file *FileNode, index int) (string, bool) { |