MCPcopy Create free account
hub / github.com/triggerdotdev/jsonhero-web / getPathToNode

Function getPathToNode

app/useColumnView/index.ts:516–518  ·  view source on GitHub ↗
(nodeTable: NodeTable, nodeId?: string)

Source from the content-addressed store, hash-verified

514}
515
516function getPathToNode(nodeTable: NodeTable, nodeId?: string): string[] {
517 return getNodeAncestorPath(nodeTable, nodeId).reverse();
518}
519
520function getNodeAncestorPath(
521 nodeTable: NodeTable,

Callers 1

useColumnViewFunction · 0.85

Calls 1

getNodeAncestorPathFunction · 0.85

Tested by

no test coverage detected