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

Function reloadParentNode

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

Source from the content-addressed store, hash-verified

104}
105
106func reloadParentNode(node *tview.TreeNode) *tview.TreeNode {
107 parent := getParentNode(node, treePanel)
108
109 if parent != nil {
110 unloadChildren(parent)
111 loadChildren(parent)
112 }
113
114 go func() {
115 app.Draw()
116 }()
117
118 return parent
119}
120
121func reloadExplorerAttrsPanel(node *tview.TreeNode, useCache bool) {
122 reloadAttributesPanel(node, explorerAttrsPanel, useCache, &explorerCache)

Callers 2

treePanelKeyHandlerFunction · 0.85
explorerPageKeyHandlerFunction · 0.85

Calls 3

getParentNodeFunction · 0.85
unloadChildrenFunction · 0.85
loadChildrenFunction · 0.85

Tested by

no test coverage detected