MCPcopy
hub / github.com/di-sukharev/opencommit / env2

Function env2

out/cli.cjs:33433–33440  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33431 });
33432 var envMemo = void 0;
33433 function env2() {
33434 var _a5, _b2;
33435 if (envMemo) {
33436 return envMemo;
33437 }
33438 envMemo = exports2.envSchema.parse((_b2 = (_a5 = (0, dlv_js_1.dlv)(globalThis, "process.env")) !== null && _a5 !== void 0 ? _a5 : (0, dlv_js_1.dlv)(globalThis, "Deno.env")) !== null && _b2 !== void 0 ? _b2 : {});
33439 return envMemo;
33440 }
33441 function resetEnv() {
33442 envMemo = void 0;
33443 }

Callers

nothing calls this directly

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…