GetResolvedCommit returns the previously resolved commit hash for the given nameVersion, or an empty string if none was stored.
(nameVersion string)
| 13 | // GetResolvedCommit returns the previously resolved commit hash for the |
| 14 | // given nameVersion, or an empty string if none was stored. |
| 15 | func GetResolvedCommit(nameVersion string) string { |
| 16 | if resolvedCommits == nil { |
| 17 | return "" |
| 18 | } |
| 19 | return resolvedCommits[nameVersion] |
| 20 | } |
no outgoing calls
no test coverage detected