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

Function pypyArchitecture

src/install-pypy.ts:287–295  ·  view source on GitHub ↗
(architecture: string)

Source from the content-addressed store, hash-verified

285}
286
287function pypyArchitecture(architecture: string): string {
288 if (IS_WINDOWS && architecture === 'x32') {
289 // convert x32 to x86 because os.arch() returns x32 for 32-bit systems but PyPy releases json has x86 arch value.
290 architecture = 'x86';
291 } else if (IS_LINUX && architecture === 'arm64') {
292 architecture = 'aarch64';
293 }
294 return architecture;
295}

Callers 4

isArchPresentForWindowsFunction · 0.85
findAssetForWindowsFunction · 0.85
findAssetForMacOrLinuxFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected