MCPcopy Create free account
hub / github.com/pingdotgg/t3code / normalizePathEntryForComparison

Function normalizePathEntryForComparison

packages/shared/src/shell.ts:411–414  ·  view source on GitHub ↗
(entry: string, platform: NodeJS.Platform)

Source from the content-addressed store, hash-verified

409}
410
411function normalizePathEntryForComparison(entry: string, platform: NodeJS.Platform): string {
412 const normalized = stripWrappingQuotes(entry.trim());
413 return platform === "win32" ? normalized.toLowerCase() : normalized;
414}
415
416export function mergePathValues(
417 preferredPath: string | undefined,

Callers 1

mergePathValuesFunction · 0.85

Calls 1

stripWrappingQuotesFunction · 0.85

Tested by

no test coverage detected