MCPcopy
hub / github.com/openclaw/clawsweeper / normalizedOutputFileBytes

Function normalizedOutputFileBytes

src/codex-process.ts:142–145  ·  view source on GitHub ↗
(value: number | undefined)

Source from the content-addressed store, hash-verified

140}
141
142function normalizedOutputFileBytes(value: number | undefined): number {
143 if (value === undefined) return DEFAULT_CODEX_OUTPUT_FILE_BYTES;
144 return Math.max(0, Number.isFinite(value) ? Math.floor(value) : DEFAULT_CODEX_OUTPUT_FILE_BYTES);
145}
146
147function failedProcessResult(
148 error: Error,

Callers 1

runCodexProcessFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected