()
| 581 | } |
| 582 | |
| 583 | func (sb *StorageBrowser) jumpTreeTop() { |
| 584 | if root := sb.tree.GetRoot(); root != nil { |
| 585 | children := root.GetChildren() |
| 586 | if len(children) > 0 { |
| 587 | sb.tree.SetCurrentNode(children[0]) |
| 588 | sb.handleTreeSelection(children[0]) |
| 589 | } |
| 590 | } |
| 591 | } |
| 592 | |
| 593 | func (sb *StorageBrowser) jumpTreeBottom() { |
| 594 | root := sb.tree.GetRoot() |
no test coverage detected