MCPcopy Create free account
hub / github.com/F-Stack/f-stack / version

Function version

app/redis-6.2.6/src/server.c:5589–5598  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5587}
5588
5589void version(void) {
5590 printf("Redis server v=%s sha=%s:%d malloc=%s bits=%d build=%llx\n",
5591 REDIS_VERSION,
5592 redisGitSHA1(),
5593 atoi(redisGitDirty()) > 0,
5594 ZMALLOC_LIB,
5595 sizeof(long) == 4 ? 32 : 64,
5596 (unsigned long long) redisBuildId());
5597 exit(0);
5598}
5599
5600void usage(void) {
5601 fprintf(stderr,"Usage: ./redis-server [/path/to/redis.conf] [options] [-]\n");

Callers 1

mainFunction · 0.70

Calls 4

redisGitSHA1Function · 0.85
redisGitDirtyFunction · 0.85
redisBuildIdFunction · 0.85
printfFunction · 0.50

Tested by

no test coverage detected