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

Method pathId

web/pgadmin/static/js/tree/tree.js:282–289  ·  view source on GitHub ↗
(item)

Source from the content-addressed store, hash-verified

280 }
281
282 pathId(item) {
283 if (item) {
284 let pathIds = item.path.split('/');
285 pathIds.splice(0, 1);
286 return pathIds;
287 }
288 return [];
289 }
290
291 itemFromDOM(domElem) {
292 return this.tree.getItemFromDOM(domElem[0]);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected