MCPcopy Create free account
hub / github.com/arctic-cli/interface / resolveCodexHome

Function resolveCodexHome

packages/arctic/src/auth/codex.ts:105–111  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

103 }
104
105 function resolveCodexHome(): string {
106 const envPath = process.env.CODEX_HOME?.trim()
107 if (envPath && envPath.length > 0) {
108 return path.resolve(envPath)
109 }
110 return path.join(os.homedir(), ".codex")
111 }
112
113 async function readCodexAuthFile(): Promise<CodexCliAuthFile | null> {
114 try {

Callers 1

readCodexAuthFileFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected