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

Function getPyPyVersionFromPath

src/utils.ts:75–77  ·  view source on GitHub ↗
(installDir: string)

Source from the content-addressed store, hash-verified

73}
74
75export function getPyPyVersionFromPath(installDir: string) {
76 return path.basename(path.dirname(installDir));
77}
78
79/**
80 * In tool-cache, we put PyPy to '<toolcache_root>/PyPy/<python_version>/x64'

Callers 2

findPyPyToolCacheFunction · 0.90
find-pypy.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected