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

Method DeleteClient

cache/github_client.go:54–59  ·  view source on GitHub ↗
(entityID string)

Source from the content-addressed store, hash-verified

52}
53
54func (g *GithubClientCache) DeleteClient(entityID string) {
55 g.mux.Lock()
56 defer g.mux.Unlock()
57
58 delete(g.cache, entityID)
59}
60
61func SetGithubClient(entityID string, client common.GithubClient) {
62 ghClientCache.SetClient(entityID, client)

Callers 1

DeleteGithubClientFunction · 0.80

Calls 2

LockMethod · 0.65
UnlockMethod · 0.65

Tested by

no test coverage detected