MCPcopy Index your code
hub / github.com/loggerhead/json4u / getTree

Function getTree

src/stores/treeStore.ts:34–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32}
33
34export function getTree() {
35 return getTreeState()["main"];
36}
37
38export function useTree(kind: Kind = "main") {
39 return useTreeStore((state) => state[kind]);

Callers 1

ItemFunction · 0.90

Calls 1

getTreeStateFunction · 0.85

Tested by

no test coverage detected