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

Function config8

out/cli.cjs:2089–2099  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

2087 }
2088 }
2089 function config8(options) {
2090 if (_dotenvKey(options).length === 0) {
2091 return DotenvModule.configDotenv(options);
2092 }
2093 const vaultPath = _vaultPath(options);
2094 if (!vaultPath) {
2095 _warn(`You set DOTENV_KEY but you are missing a .env.vault file at ${vaultPath}. Did you forget to build it?`);
2096 return DotenvModule.configDotenv(options);
2097 }
2098 return DotenvModule._configVault(options);
2099 }
2100 function decrypt(encrypted, keyStr) {
2101 const key = Buffer.from(keyStr.slice(-64), "hex");
2102 let ciphertext = Buffer.from(encrypted, "base64");

Callers

nothing calls this directly

Calls 3

_dotenvKeyFunction · 0.85
_vaultPathFunction · 0.85
_warnFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…