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

Function getSettingsDir

src/proxy/server/settings.js:14–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12// Lazy resolution lets a test set EVOLVER_SETTINGS_DIR to a temp dir before
13// calling start()/readSettings() and stay isolated from concurrent workers.
14function getSettingsDir() {
15 return process.env.EVOLVER_SETTINGS_DIR || path.join(os.homedir(), '.evolver');
16}
17
18function getSettingsFile() {
19 return path.join(getSettingsDir(), 'settings.json');

Callers 3

getSettingsFileFunction · 0.85
writeSettingsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected