MCPcopy Index your code
hub / github.com/Doorman11991/smallcode / paint

Function paint

test/e2e_smoke.js:38–38  ·  view source on GitHub ↗
(t, code)

Source from the content-addressed store, hash-verified

36 red: '\x1b[31m', green: '\x1b[32m', yellow: '\x1b[33m', cyan: '\x1b[36m',
37};
38const paint = (t, code) => process.stdout.isTTY ? `${code}${t}${C.reset}` : t;
39
40// ─── helpers ────────────────────────────────────────────────────────────────
41

Callers 5

checkFunction · 0.70
caseIdempotentDedupFunction · 0.70
caseContractGuardFunction · 0.70
caseBenchDiffFunction · 0.70
e2e_smoke.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected