( manifest: LargeArrayManifest, options: RedactLargeValueRefsOptions )
| 184 | } |
| 185 | |
| 186 | async function redactManifest( |
| 187 | manifest: LargeArrayManifest, |
| 188 | options: RedactLargeValueRefsOptions |
| 189 | ): Promise<unknown> { |
| 190 | try { |
| 191 | const materialized = await materializeLargeArrayManifest(manifest, { ...options.store }) |
| 192 | return await maskAndReStore(materialized, options) |
| 193 | } catch (error) { |
| 194 | return onRefFailure(error, options, 'Failed to redact large array manifest') |
| 195 | } |
| 196 | } |
no test coverage detected