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

Function writeExactPyPyVersionFile

src/utils.ts:97–103  ·  view source on GitHub ↗
(
  installDir: string,
  resolvedPyPyVersion: string
)

Source from the content-addressed store, hash-verified

95}
96
97export function writeExactPyPyVersionFile(
98 installDir: string,
99 resolvedPyPyVersion: string
100) {
101 const pypyFilePath = path.join(installDir, PYPY_VERSION_FILE);
102 fs.writeFileSync(pypyFilePath, resolvedPyPyVersion);
103}
104
105/**
106 * Python version should be specified explicitly like "x.y" (3.10, 3.11, etc)

Callers 1

installPyPyFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected