MCPcopy
hub / github.com/joeferner/redis-commander / getFullKeyPath

Function getFullKeyPath

web/static/scripts/redisCommander.js:284–289  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

282
283
284function getFullKeyPath (node) {
285 if (node.parent === '#') {
286 return '';
287 }
288 return node.id.substr(getRootConnection(node).length + 1);
289}
290
291function getRootConnection (node) {
292 if (node.parent === '#') {

Callers 8

getJsTreeDataFunction · 0.85
onJSTreeDataCompleteFunction · 0.85
treeNodeSelectedFunction · 0.85
addKeyFunction · 0.85
renameKeyFunction · 0.85
exportKeyFunction · 0.85
deleteKeyFunction · 0.85
decodeKeyFunction · 0.85

Calls 1

getRootConnectionFunction · 0.85

Tested by

no test coverage detected