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

Function mergeStats

packages/db/scripts/migrate-block-api-keys-to-byok.ts:319–327  ·  view source on GitHub ↗
(target: MigrationStats, source: MigrationStats)

Source from the content-addressed store, hash-verified

317}
318
319function mergeStats(target: MigrationStats, source: MigrationStats) {
320 target.workspacesProcessed += source.workspacesProcessed
321 target.workspacesSkipped += source.workspacesSkipped
322 target.conflicts += source.conflicts
323 target.inserted += source.inserted
324 target.skippedExisting += source.skippedExisting
325 target.errors += source.errors
326 target.envVarFailures += source.envVarFailures
327}
328
329async function resolveKey(
330 ref: RawKeyRef,

Callers 1

runFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected