MCPcopy Create free account
hub / github.com/apple/foundationdb / hasVersion

Method hasVersion

fdbclient/include/fdbclient/VersionVector.h:96–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94 }
95
96 bool hasVersion(const Tag& tag) const {
97 ASSERT(tag != invalidTag);
98 return versions.find(tag) != versions.end();
99 }
100
101 // @pre assumes that the given tag has an entry in the version vector.
102 Version getVersion(const Tag& tag) const {

Callers 3

getRealReadVersionFunction · 0.80
getLatestCommitVersionFunction · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected