Find the latest commit version of the given tag.
| 1726 | |
| 1727 | // Find the latest commit version of the given tag. |
| 1728 | Version getLatestCommitVersion(VersionVector& ssLatestCommitVersions, Tag& tag) { |
| 1729 | Version commitVersion = |
| 1730 | ssLatestCommitVersions.hasVersion(tag) ? ssLatestCommitVersions.getVersion(tag) : invalidVersion; |
| 1731 | return commitVersion; |
| 1732 | } |
| 1733 | |
| 1734 | Future<Version> waitForVersion(StorageServer* data, Version version, SpanContext spanContext) { |
| 1735 | if (version == latestVersion) { |
no test coverage detected