(sourceRepo string, tagMap map[string]string)
| 73 | } |
| 74 | |
| 75 | func 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. |
no outgoing calls
no test coverage detected