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

Function redisBuildId

app/redis-6.2.6/src/release.c:49–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49uint64_t redisBuildId(void) {
50 char *buildid = REDIS_VERSION REDIS_BUILD_ID REDIS_GIT_DIRTY REDIS_GIT_SHA1;
51
52 return crc64(0,(unsigned char*)buildid,strlen(buildid));
53}
54
55/* Return a cached value of the build string in order to avoid recomputing
56 * and converting it in hex every time: this string is shown in the INFO

Callers 2

redisBuildIdStringFunction · 0.85
versionFunction · 0.85

Calls 1

crc64Function · 0.85

Tested by

no test coverage detected