MCPcopy
hub / github.com/colbymchenry/codegraph / norm

Function norm

src/directory.ts:143–144  ·  view source on GitHub ↗
(p: string)

Source from the content-addressed store, hash-verified

141 const home = resolve(os.homedir());
142 // Case-insensitive on macOS/Windows (case-preserving but case-insensitive FS).
143 const norm = (p: string): string =>
144 process.platform === 'darwin' || process.platform === 'win32' ? p.toLowerCase() : p;
145 const r = norm(resolved);
146 const h = norm(home);
147

Callers 1

unsafeIndexRootReasonFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected