(sourceRepo string)
| 66 | } |
| 67 | |
| 68 | func 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 | |
| 75 | func setVersionLabelCache(sourceRepo string, tagMap map[string]string) { |
| 76 | versionLabelMu.Lock() |
no outgoing calls
no test coverage detected