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

Function readJsonFile

src/ops/lifecycle.js:153–160  ·  view source on GitHub ↗
(file)

Source from the content-addressed store, hash-verified

151}
152
153function readJsonFile(file) {
154 try {
155 if (!file || !fs.existsSync(file)) return null;
156 return JSON.parse(fs.readFileSync(file, 'utf8'));
157 } catch (_) {
158 return null;
159 }
160}
161
162function getClaudeSettingsFile(env) {
163 var e = env || process.env;

Callers 1

Calls 1

parseMethod · 0.80

Tested by

no test coverage detected