MCPcopy Create free account
hub / github.com/github/gh-aw / getVersionLabelCache

Function getVersionLabelCache

pkg/cli/update_version_labels.go:68–73  ·  view source on GitHub ↗
(sourceRepo string)

Source from the content-addressed store, hash-verified

66}
67
68func getVersionLabelCache(sourceRepo string) (map[string]string, bool) {
69 versionLabelMu.Lock()
70 defer versionLabelMu.Unlock()
71 tagMap, ok := versionLabelCache[sourceRepo]
72 return tagMap, ok
73}
74
75func setVersionLabelCache(sourceRepo string, tagMap map[string]string) {
76 versionLabelMu.Lock()

Callers 1

resolveVersionLabelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected