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

Function isArchPresentForMacOrLinux

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

Source from the content-addressed store, hash-verified

255}
256
257export function isArchPresentForMacOrLinux(
258 item: any,
259 architecture: string,
260 platform: string
261) {
262 architecture = pypyArchitecture(architecture);
263 return item.files.some(
264 (file: any) => file.arch === architecture && file.platform === platform
265 );
266}
267
268export function findAssetForWindows(releases: any, architecture: string) {
269 architecture = pypyArchitecture(architecture);

Callers 1

findReleaseFunction · 0.85

Calls 1

pypyArchitectureFunction · 0.85

Tested by

no test coverage detected