MCPcopy
hub / github.com/tinyplex/tinybase / stampNew

Function stampNew

src/common/stamps.ts:25–28  ·  view source on GitHub ↗
(
  value: Value,
  hlc: Hlc | undefined,
)

Source from the content-addressed store, hash-verified

23>): Stamp<Value> => stampNew(value, hlc);
24
25export const stampNew = <Value>(
26 value: Value,
27 hlc: Hlc | undefined,
28): Stamp<Value> => (hlc ? [value, hlc] : [value]);
29
30export const stampNewWithHash = <Value>(
31 value: Value,

Callers 6

getMergeableCellDiffFunction · 0.90
getMergeableValueDiffFunction · 0.90
mergeTablesStampsFunction · 0.90
stampCloneFunction · 0.70
stampNewObjFunction · 0.70
stampMapToObjWithoutHashFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…