MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / version

Function version

src/server.cpp:6616–6625  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6614}
6615
6616void version(void) {
6617 printf("KeyDB server v=%s sha=%s:%d malloc=%s bits=%d build=%llx\n",
6618 KEYDB_REAL_VERSION,
6619 redisGitSHA1(),
6620 atoi(redisGitDirty()) > 0,
6621 ZMALLOC_LIB,
6622 sizeof(long) == 4 ? 32 : 64,
6623 (unsigned long long) redisBuildId());
6624 exit(0);
6625}
6626
6627void usage(void) {
6628 fprintf(stderr,"Usage: ./keydb-server [/path/to/keydb.conf] [options] [-]\n");

Callers 1

mainFunction · 0.85

Calls 3

redisGitSHA1Function · 0.85
redisGitDirtyFunction · 0.85
redisBuildIdFunction · 0.85

Tested by

no test coverage detected