MCPcopy Index your code
hub / github.com/devcontainers/cli / equalPaths

Function equalPaths

src/spec-common/commonUtils.ts:75–80  ·  view source on GitHub ↗
(platform: NodeJS.Platform, a: string, b: string)

Source from the content-addressed store, hash-verified

73}
74
75export function equalPaths(platform: NodeJS.Platform, a: string, b: string) {
76 if (platform === 'linux') {
77 return a === b;
78 }
79 return a.toLowerCase() === b.toLowerCase();
80}
81
82export async function runCommandNoPty(options: {
83 exec: ExecFunction;

Callers 1

getProjectNameFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected