| 20 | } |
| 21 | |
| 22 | type CommitFileTree struct { |
| 23 | getFiles func() []*models.CommitFile |
| 24 | tree *Node[models.CommitFile] |
| 25 | showTree bool |
| 26 | common *common.Common |
| 27 | collapsedPaths *CollapsedPaths |
| 28 | textFilter string |
| 29 | useFuzzySearch bool |
| 30 | } |
| 31 | |
| 32 | func (self *CommitFileTree) CollapseAll() { |
| 33 | dirPaths := lo.FilterMap(self.GetAllItems(), func(file *CommitFileNode, index int) (string, bool) { |
nothing calls this directly
no outgoing calls
no test coverage detected