MCPcopy Index your code
hub / github.com/actions/setup-python / findAssetForWindows

Function findAssetForWindows

src/install-pypy.ts:268–274  ·  view source on GitHub ↗
(releases: any, architecture: string)

Source from the content-addressed store, hash-verified

266}
267
268export function findAssetForWindows(releases: any, architecture: string) {
269 architecture = pypyArchitecture(architecture);
270 return releases.files.find(
271 (item: any) =>
272 WINDOWS_PLATFORMS.includes(item.platform) && item.arch === architecture
273 );
274}
275
276export function findAssetForMacOrLinux(
277 releases: any,

Callers 1

findReleaseFunction · 0.85

Calls 1

pypyArchitectureFunction · 0.85

Tested by

no test coverage detected