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

Function samePath

src/proxy/clientSettings.js:23–30  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

21}
22
23function samePath(a, b) {
24 if (!a || !b) return false;
25 const left = path.resolve(a);
26 const right = path.resolve(b);
27 return process.platform === 'win32'
28 ? left.toLowerCase() === right.toLowerCase()
29 : left === right;
30}
31
32function getEnvClaudeSettingsFile(env = process.env) {
33 return String(env.CLAUDE_SETTINGS_FILE || env.EVOMAP_CLAUDE_SETTINGS_FILE || '').trim();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected