MCPcopy Create free account
hub / github.com/ChromeDevTools/chrome-devtools-mcp / getPathKey

Function getPathKey

scripts/gclient-sync.ts:42–44  ·  view source on GitHub ↗
(env: NodeJS.ProcessEnv)

Source from the content-addressed store, hash-verified

40
41// Windows stores PATH under a case-insensitive key such as `Path`.
42function getPathKey(env: NodeJS.ProcessEnv): string {
43 return Object.keys(env).find(key => key.toUpperCase() === 'PATH') ?? 'PATH';
44}
45
46function findOnPath(
47 command: string,

Callers 2

findOnPathFunction · 0.85
prependToPathFunction · 0.85

Calls 1

findMethod · 0.45

Tested by

no test coverage detected