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

Function stampMapToObjWithHash

src/common/stamps.ts:69–72  ·  view source on GitHub ↗
(
  [map, hlc, hash]: Stamp<IdMap<From>, true>,
  mapper: (mapValue: From) => To,
)

Source from the content-addressed store, hash-verified

67];
68
69export const stampMapToObjWithHash = <From, To = From>(
70 [map, hlc, hash]: Stamp<IdMap<From>, true>,
71 mapper: (mapValue: From) => To,
72): Stamp<IdObj<To>, true> => [mapToObj(map, mapper), hlc, hash];
73
74export const stampMapToObjWithoutHash = <From, To = From>(
75 [map, hlc]: Stamp<IdMap<From>, boolean>,

Callers 1

getMergeableContentImplFunction · 0.90

Calls 1

mapToObjFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…