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

Function isArchPresentForWindows

src/install-pypy.ts:249–255  ·  view source on GitHub ↗
(item: any, architecture: string)

Source from the content-addressed store, hash-verified

247}
248
249export function isArchPresentForWindows(item: any, architecture: string) {
250 architecture = pypyArchitecture(architecture);
251 return item.files.some(
252 (file: any) =>
253 WINDOWS_PLATFORMS.includes(file.platform) && file.arch === architecture
254 );
255}
256
257export function isArchPresentForMacOrLinux(
258 item: any,

Callers 1

findReleaseFunction · 0.85

Calls 1

pypyArchitectureFunction · 0.85

Tested by

no test coverage detected