MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / readEnvFile

Function readEnvFile

dev/local/env-sync/parse.ts:88–94  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

86 vars.set(key, value);
87 }
88
89 return vars;
90}
91
92function readEnvFile(filePath: string): Map<string, string> {
93 try {
94 return parseEnvFile(fs.readFileSync(filePath, 'utf-8'));
95 } catch {
96 return new Map();
97 }

Callers 3

applyEnvLocalAutoCreatesFunction · 0.90
computePlanFunction · 0.90

Calls 1

parseEnvFileFunction · 0.85

Tested by

no test coverage detected