MCPcopy Create free account
hub / github.com/clientdb/clientdb / get

Function get

core/utils/deepMap.ts:88–92  ·  view source on GitHub ↗
(path: unknown[])

Source from the content-addressed store, hash-verified

86 }
87
88 function get(path: unknown[]) {
89 const targetMap = getFinalTargetMap(path);
90
91 return targetMap.get(targetSymbol) as V | undefined;
92 }
93
94 function getOrCreate(path: unknown[], factory: () => V) {
95 const targetMap = getFinalTargetMap(path);

Callers

nothing calls this directly

Calls 1

getFinalTargetMapFunction · 0.85

Tested by

no test coverage detected