MCPcopy
hub / github.com/jesseduffield/lazygit / CommitFileTree

Struct CommitFileTree

pkg/gui/filetree/commit_file_tree.go:22–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20}
21
22type 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
32func (self *CommitFileTree) CollapseAll() {
33 dirPaths := lo.FilterMap(self.GetAllItems(), func(file *CommitFileNode, index int) (string, bool) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected