MCPcopy Index your code
hub / github.com/actions/setup-node / getCacheDirectoriesForRootProject

Function getCacheDirectoriesForRootProject

src/cache-utils.ts:191–199  ·  view source on GitHub ↗
(
  packageManagerInfo: PackageManagerInfo
)

Source from the content-addressed store, hash-verified

189 * @return list of files on which the cache depends
190 */
191const getCacheDirectoriesForRootProject = async (
192 packageManagerInfo: PackageManagerInfo
193): Promise<string[]> => {
194 const cacheFolderPath = await packageManagerInfo.getCacheFolderPath();
195 core.debug(
196 `${packageManagerInfo.name}'s cache folder "${cacheFolderPath}" configured for the root directory`
197 );
198 return [cacheFolderPath];
199};
200
201/**
202 * A function to find the cache directories configured for the repo

Callers 1

getCacheDirectoriesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected