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

Function clearVersionLabelCache

pkg/cli/update_version_labels.go:62–66  ·  view source on GitHub ↗

clearVersionLabelCache clears per-run source-repo tag caches.

()

Source from the content-addressed store, hash-verified

60
61// clearVersionLabelCache clears per-run source-repo tag caches.
62func clearVersionLabelCache() {
63 versionLabelMu.Lock()
64 defer versionLabelMu.Unlock()
65 versionLabelCache = make(map[string]map[string]string)
66}
67
68func getVersionLabelCache(sourceRepo string) (map[string]string, bool) {
69 versionLabelMu.Lock()

Calls

no outgoing calls