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

Function pypyVersionToSemantic

src/install-pypy.ts:244–247  ·  view source on GitHub ↗
(versionSpec: string)

Source from the content-addressed store, hash-verified

242}
243
244export function pypyVersionToSemantic(versionSpec: string) {
245 const prereleaseVersion = /(\d+\.\d+\.\d+)((?:a|b|rc))(\d*)/g;
246 return versionSpec.replace(prereleaseVersion, '$1-$2.$3');
247}
248
249export function isArchPresentForWindows(item: any, architecture: string) {
250 architecture = pypyArchitecture(architecture);

Callers 1

findReleaseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected