MCPcopy Create free account
hub / github.com/engineerd/setup-kind / kindCachePaths

Function kindCachePaths

src/cache.ts:59–67  ·  view source on GitHub ↗

* Defines the cache paths * It is the folder where kind will be stored in the tool-cache * per it's version and process architecture * @param version * @returns the cache paths

(version: string)

Source from the content-addressed store, hash-verified

57 * @returns the cache paths
58 */
59function kindCachePaths(version: string) {
60 return [
61 path.join(
62 `${process.env['RUNNER_TOOL_CACHE']}`,
63 KIND_TOOL_NAME,
64 semver.clean(version) || version
65 ),
66 ];
67}
68
69/**
70 * Defines a primary Key for the kind cache.

Callers 1

restoreKindCacheFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected