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

Function reloadExplorerPage

tui/tree.go:988–999  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

986}
987
988func reloadExplorerPage() {
989 explorerAttrsPanel.Clear()
990 explorerCache.Clear()
991
992 rootNode = renderPartialTree(explorerBaseDN, SearchFilter)
993 if rootNode != nil {
994 numChildren := len(rootNode.GetChildren())
995 updateLog("Tree updated successfully ("+strconv.Itoa(numChildren)+" objects found)", "green")
996 }
997
998 treePanel.SetRoot(rootNode).SetCurrentNode(rootNode)
999}

Callers 2

treePanelKeyHandlerFunction · 0.85
openExplorerSettingsFormFunction · 0.85

Calls 3

renderPartialTreeFunction · 0.85
updateLogFunction · 0.85
ClearMethod · 0.80

Tested by

no test coverage detected