MCPcopy Index your code
hub / github.com/g3n/engine / remove

Method remove

gui/tree.go:387–391  ·  view source on GitHub ↗

remove removes this node and all children from the tree list

()

Source from the content-addressed store, hash-verified

385
386// remove removes this node and all children from the tree list
387func (n *TreeNode) remove() {
388
389 n.tree.List.Remove(n)
390 n.removeItems()
391}
392
393// removeItems removes this node children from the tree list
394func (n *TreeNode) removeItems() {

Callers 2

RemoveMethod · 0.80
RemoveMethod · 0.80

Calls 2

removeItemsMethod · 0.95
RemoveMethod · 0.45

Tested by

no test coverage detected