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

Function getDownloadFileName

src/utils.ts:442–447  ·  view source on GitHub ↗
(downloadUrl: string)

Source from the content-addressed store, hash-verified

440 * Related issue: https://github.com/actions/setup-python/issues/819
441 */
442export function getDownloadFileName(downloadUrl: string): string | undefined {
443 const tempDir = process.env.RUNNER_TEMP || '.';
444 return IS_WINDOWS
445 ? path.join(tempDir, path.basename(downloadUrl))
446 : undefined;
447}

Callers 3

installPyPyFunction · 0.90
utils.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected