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

Function setVersionLabelCache

pkg/cli/update_version_labels.go:75–79  ·  view source on GitHub ↗
(sourceRepo string, tagMap map[string]string)

Source from the content-addressed store, hash-verified

73}
74
75func setVersionLabelCache(sourceRepo string, tagMap map[string]string) {
76 versionLabelMu.Lock()
77 defer versionLabelMu.Unlock()
78 versionLabelCache[sourceRepo] = tagMap
79}
80
81// loadRepoTagMap fetches tags for sourceRepo and returns a map from full commit
82// SHA to tag name. The second return value is false when tag loading fails.

Callers 1

resolveVersionLabelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected