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

Function validatePythonVersionFormatForPyPy

src/utils.ts:110–113  ·  view source on GitHub ↗
(version: string)

Source from the content-addressed store, hash-verified

108 * because it could cause ambiguity when both PyPy version and Python version are not precise
109 */
110export function validatePythonVersionFormatForPyPy(version: string) {
111 const re = /^\d+\.\d+$/;
112 return re.test(version);
113}
114
115export function isGhes(): boolean {
116 const ghUrl = new URL(

Callers 2

parsePyPyVersionFunction · 0.90
utils.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected