MCPcopy Index your code
hub / github.com/simstudioai/sim / replaceRef

Function replaceRef

apps/sim/lib/logs/execution/pii-large-values.ts:125–129  ·  view source on GitHub ↗
(ref: object, options: RedactLargeValueRefsOptions)

Source from the content-addressed store, hash-verified

123}
124
125async function replaceRef(ref: object, options: RedactLargeValueRefsOptions): Promise<unknown> {
126 return isLargeValueRef(ref)
127 ? redactRef(ref, options)
128 : redactManifest(ref as LargeArrayManifest, options)
129}
130
131/**
132 * Mask a materialized large value and re-offload it: handle any nested refs

Callers 1

redactValueRefsFunction · 0.85

Calls 3

isLargeValueRefFunction · 0.90
redactRefFunction · 0.85
redactManifestFunction · 0.85

Tested by

no test coverage detected