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

Function cacheDependencies

src/setup-python.ts:39–48  ·  view source on GitHub ↗
(cache: string, pythonVersion: string)

Source from the content-addressed store, hash-verified

37}
38
39async function cacheDependencies(cache: string, pythonVersion: string) {
40 const cacheDependencyPath =
41 core.getInput('cache-dependency-path') || undefined;
42 const cacheDistributor = getCacheDistributor(
43 cache,
44 pythonVersion,
45 cacheDependencyPath
46 );
47 await cacheDistributor.restoreCache();
48}
49
50function resolveVersionInputFromDefaultFile(): string[] {
51 const couples: [string, (versionFile: string) => string[]][] = [

Callers 1

runFunction · 0.85

Calls 1

getCacheDistributorFunction · 0.90

Tested by

no test coverage detected