MCPcopy
hub / github.com/openai/codex-plugin-cc / normalizeMaxInlineFiles

Function normalizeMaxInlineFiles

plugins/codex/scripts/lib/git.mjs:23–29  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

21}
22
23function normalizeMaxInlineFiles(value) {
24 const parsed = Number(value);
25 if (!Number.isFinite(parsed) || parsed < 0) {
26 return DEFAULT_INLINE_DIFF_MAX_FILES;
27 }
28 return Math.floor(parsed);
29}
30
31function normalizeMaxInlineDiffBytes(value) {
32 const parsed = Number(value);

Callers 1

collectReviewContextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected