MCPcopy Create free account
hub / github.com/electric-sql/electric / normalizePath

Function normalizePath

packages/agents-desktop/src/cli/controller.ts:147–150  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

145}
146
147function normalizePath(value: string): string {
148 const resolved = path.resolve(value)
149 return process.platform === `win32` ? resolved.toLowerCase() : resolved
150}
151
152function pathIncludes(dir: string): boolean {
153 const normalizedDir = normalizePath(dir)

Callers 2

pathIncludesFunction · 0.85
findCommandsOnPathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected