MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / externalVaultRootFromEnv

Function externalVaultRootFromEnv

tooling/scripts/perf-desktop-runtime.mjs:84–87  ·  view source on GitHub ↗
(specificName)

Source from the content-addressed store, hash-verified

82}
83
84function externalVaultRootFromEnv(specificName) {
85 const raw = process.env[specificName]?.trim() || process.env.ZEN_PERF_VAULT_ROOT?.trim()
86 return raw ? resolve(raw) : null
87}
88
89function sleep(ms) {
90 return new Promise((resolvePromise) => setTimeout(resolvePromise, ms))

Callers 1

Calls 1

resolveFunction · 0.85

Tested by

no test coverage detected