MCPcopy Index your code
hub / github.com/openai/codex-plugin-cc / resolveCodexHome

Function resolveCodexHome

plugins/codex/scripts/lib/codex.mjs:653–655  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

651}
652
653function resolveCodexHome() {
654 return path.resolve(process.env.CODEX_HOME || path.join(os.homedir(), ".codex"));
655}
656
657function sourceContentSha256(sourcePath) {
658 return crypto.createHash("sha256").update(fs.readFileSync(sourcePath)).digest("hex");

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected