MCPcopy Create free account
hub / github.com/pgadmin-org/pgadmin4 / findNode

Method findNode

web/pgadmin/static/js/tree/tree.js:428–433  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

426 }
427
428 findNode(path) {
429 if (path === null || path === undefined || path.length === 0 || path == '/browser') {
430 return this.rootNode;
431 }
432 return findInTree(this.rootNode, path);
433 }
434
435 createOrUpdateNode(id, data, parent, domNode) {
436 let oldNodePath = id;

Callers 11

findNodeByDomElementMethod · 0.95
addNewNodeMethod · 0.95
createOrUpdateNodeMethod · 0.95
getTreeNodeHierarchyMethod · 0.95
startGlobalDebuggerMethod · 0.45
updateCloudDetailsMethod · 0.45
parentMethod · 0.45
findNodeByDomElementMethod · 0.45
getTreeNodeHierarchyMethod · 0.45
treeTestsFunction · 0.45

Calls 1

findInTreeFunction · 0.85

Tested by

no test coverage detected