MCPcopy Create free account
hub / github.com/Macmod/godap / collapseTreeNode

Function collapseTreeNode

tui/explorer.go:99–104  ·  view source on GitHub ↗
(node *tview.TreeNode)

Source from the content-addressed store, hash-verified

97}
98
99func collapseTreeNode(node *tview.TreeNode) {
100 node.SetExpanded(false)
101 if !CacheEntries {
102 unloadChildren(node)
103 }
104}
105
106func reloadParentNode(node *tview.TreeNode) *tview.TreeNode {
107 parent := getParentNode(node, treePanel)

Callers 1

treePanelKeyHandlerFunction · 0.85

Calls 1

unloadChildrenFunction · 0.85

Tested by

no test coverage detected