MCPcopy Index your code
hub / github.com/nodejs/corepack / getBinaryNames

Function getBinaryNames

tests/_binHelpers.ts:14–23  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

12}
13
14export function getBinaryNames(name: string) {
15 if (process.platform !== `win32`)
16 return [name];
17
18 return [
19 `${name}`,
20 `${name}.CMD`,
21 `${name}.ps1`,
22 ];
23}

Callers 2

Enable.test.tsFile · 0.90
Disable.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…