MCPcopy Create free account
hub / github.com/cloudbase/garm / SetGithubToolsCache

Function SetGithubToolsCache

cache/tools_cache.go:113–115  ·  view source on GitHub ↗
(entity params.ForgeEntity, tools []commonParams.RunnerApplicationDownload)

Source from the content-addressed store, hash-verified

111}
112
113func SetGithubToolsCache(entity params.ForgeEntity, tools []commonParams.RunnerApplicationDownload) {
114 githubToolsCache.Set(entity, tools)
115}
116
117func GetGithubToolsCache(entityID string) ([]commonParams.RunnerApplicationDownload, error) {
118 return githubToolsCache.Get(entityID)

Calls 1

SetMethod · 0.45