MCPcopy Index your code
hub / github.com/tinyplex/tinybase / stampNewMap

Function stampNewMap

src/common/stamps.ts:63–67  ·  view source on GitHub ↗
(hlc = EMPTY_STRING)

Source from the content-addressed store, hash-verified

61 stampNew(objNew<Thing>(), hlc);
62
63export const stampNewMap = <Thing>(hlc = EMPTY_STRING): StampMap<Thing> => [
64 mapNew<Id, Thing>(),
65 hlc,
66 0,
67];
68
69export const stampMapToObjWithHash = <From, To = From>(
70 [map, hlc, hash]: Stamp<IdMap<From>, true>,

Callers 1

newContentStampMapFunction · 0.90

Calls 1

mapNewFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…