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

Method Delete

cache/tools_cache.go:106–111  ·  view source on GitHub ↗
(entityID string)

Source from the content-addressed store, hash-verified

104}
105
106func (g *GithubToolsCache) Delete(entityID string) {
107 g.mux.Lock()
108 defer g.mux.Unlock()
109
110 delete(g.entities, entityID)
111}
112
113func SetGithubToolsCache(entity params.ForgeEntity, tools []commonParams.RunnerApplicationDownload) {
114 githubToolsCache.Set(entity, tools)

Callers

nothing calls this directly

Calls 2

LockMethod · 0.65
UnlockMethod · 0.65

Tested by

no test coverage detected