MCPcopy Index your code
hub / github.com/openai/plugins / _write_json

Function _write_json

plugins/codex-security/scripts/finalize_scan_contract.py:73–75  ·  view source on GitHub ↗
(path: Path, payload: Any)

Source from the content-addressed store, hash-verified

71
72
73def _write_json(path: Path, payload: Any) -> None:
74 path.parent.mkdir(parents=True, exist_ok=True)
75 path.write_bytes(_json_bytes(payload))
76
77
78def _generate_report_projection(

Callers

nothing calls this directly

Calls 1

_json_bytesFunction · 0.85

Tested by

no test coverage detected