MCPcopy Index your code
hub / github.com/jesseduffield/lazygit / ToggleShowTree

Method ToggleShowTree

pkg/gui/filetree/commit_file_tree.go:61–64  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

59}
60
61func (self *CommitFileTree) ToggleShowTree() {
62 self.showTree = !self.showTree
63 self.SetTree()
64}
65
66func (self *CommitFileTree) Get(index int) *CommitFileNode {
67 // need to traverse the three depth first until we get to the index.

Callers

nothing calls this directly

Calls 1

SetTreeMethod · 0.95

Tested by

no test coverage detected