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