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

Function readSettings

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

Source from the content-addressed store, hash-verified

20}
21
22function readSettings() {
23 try {
24 const file = getSettingsFile();
25 if (fs.existsSync(file)) {
26 return JSON.parse(fs.readFileSync(file, 'utf8'));
27 }
28 } catch {}
29 return {};
30}
31
32function writeSettings(data) {
33 const dir = getSettingsDir();

Callers 12

checkProxyHealthFunction · 0.85
getOwnedLoopPidsFunction · 0.85
startMethod · 0.85
_handleRequestMethod · 0.85
writeSettingsFunction · 0.85
clearSettingsFunction · 0.85
isStaleProxyFunction · 0.85
getProxyUrlFunction · 0.85
getProxyTokenFunction · 0.85
getProxySettingsFunction · 0.85

Calls 2

getSettingsFileFunction · 0.85
parseMethod · 0.80

Tested by

no test coverage detected