MCPcopy Create free account
hub / github.com/devnullvoid/pvetui / jumpTreeTop

Method jumpTreeTop

internal/ui/components/storage_browser.go:583–591  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

581}
582
583func (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
593func (sb *StorageBrowser) jumpTreeBottom() {
594 root := sb.tree.GetRoot()

Callers 1

SetAppMethod · 0.95

Calls 1

handleTreeSelectionMethod · 0.95

Tested by

no test coverage detected