(item: any, architecture: string)
| 247 | } |
| 248 | |
| 249 | export 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 | |
| 257 | export function isArchPresentForMacOrLinux( |
| 258 | item: any, |
no test coverage detected