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

Function currentProtocolVersion

flow/ProtocolVersion.cpp:28–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28ProtocolVersion currentProtocolVersion() {
29 static ProtocolVersion firstReturnedProtocolVersion = g_currentProtocolVersion;
30 // Make sure the protocol version is not changed, once it is already in use
31 ASSERT(firstReturnedProtocolVersion == g_currentProtocolVersion);
32 return g_currentProtocolVersion;
33}
34
35void useFutureProtocolVersion() {
36 g_currentProtocolVersion = ProtocolVersion(futureProtocolVersionValue);

Callers 15

protocolVersionMethod · 0.85
IncludeVersionFunction · 0.85
deserializeMethod · 0.85
printVersionFunction · 0.85
ProtocolVersionDataMethod · 0.85
setupAndRunFunction · 0.85
printVersionFunction · 0.85
mainFunction · 0.85
_startMethod · 0.85
sendLocalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected