MCPcopy Create free account
hub / github.com/EvoMap/evolver / getCodexConfigFile

Function getCodexConfigFile

src/ops/lifecycle.js:170–176  ·  view source on GitHub ↗
(env)

Source from the content-addressed store, hash-verified

168}
169
170function getCodexConfigFile(env) {
171 var e = env || process.env;
172 var explicit = String(e.CODEX_CONFIG_FILE || e.EVOMAP_CODEX_CONFIG_FILE || '').trim();
173 if (explicit) return explicit;
174 var home = e.HOME || os.homedir();
175 return home ? path.join(home, '.codex', 'config.toml') : null;
176}
177
178function stripTomlComment(line) {
179 var out = '';

Callers 1

codexConfigExpectsProxyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected