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

Method getVersion

fdbclient/Versionstamp.cpp:30–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30int64_t Versionstamp::getVersion() const {
31 const uint8_t* begin = data.begin();
32 int64_t version = *(int64_t*)begin;
33 version = bigEndian64(version);
34 return version;
35}
36
37size_t Versionstamp::size() const {
38 return VERSIONSTAMP_TUPLE_SIZE;

Callers 5

tupleToStringFunction · 0.45
unit_tests.cppFile · 0.45
operator==Method · 0.45

Calls 1

beginMethod · 0.45

Tested by 1

tupleToStringFunction · 0.36