MCPcopy
hub / github.com/infinitered/reactotron / redactWithParsed

Function redactWithParsed

lib/reactotron-mcp/src/redaction.ts:256–258  ·  view source on GitHub ↗
(data: unknown, parsed: ParsedRules, currentPath = "")

Source from the content-addressed store, hash-verified

254}
255
256function redactWithParsed(data: unknown, parsed: ParsedRules, currentPath = ""): unknown {
257 return redactValue(data, makeContext(parsed), currentPath)
258}
259
260function redactValue(data: unknown, ctx: RedactionContext, currentPath: string): unknown {
261 if (data === null || data === undefined) return data

Callers 3

redactFunction · 0.85
redactStateFunction · 0.85
redactAsyncStorageFunction · 0.85

Calls 2

redactValueFunction · 0.85
makeContextFunction · 0.85

Tested by

no test coverage detected