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

Function printVersion

fdbserver/fdbserver.actor.cpp:540–544  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

538}
539
540static void printVersion() {
541 printf("FoundationDB " FDB_VT_PACKAGE_NAME " (v" FDB_VT_VERSION ")\n");
542 printf("source version %s\n", getSourceVersion());
543 printf("protocol %" PRIx64 "\n", currentProtocolVersion().version());
544}
545
546static void printHelpTeaser(const char* name) {
547 fprintf(stderr, "Try `%s --help' for more information.\n", name);

Callers 1

parseArgsInternalMethod · 0.70

Calls 3

printfFunction · 0.85
getSourceVersionFunction · 0.85
currentProtocolVersionFunction · 0.85

Tested by

no test coverage detected