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

Function ldbRedisProtocolToHuman_Bool

app/redis-6.2.6/src/scripting.c:2429–2436  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2427}
2428
2429char *ldbRedisProtocolToHuman_Bool(sds *o, char *reply) {
2430 char *p = strchr(reply+1,'\r');
2431 if (reply[1] == 't')
2432 *o = sdscatlen(*o,"#true",5);
2433 else
2434 *o = sdscatlen(*o,"#false",6);
2435 return p+2;
2436}
2437
2438char *ldbRedisProtocolToHuman_Double(sds *o, char *reply) {
2439 char *p = strchr(reply+1,'\r');

Callers 1

ldbRedisProtocolToHumanFunction · 0.85

Calls 2

strchrFunction · 0.85
sdscatlenFunction · 0.85

Tested by

no test coverage detected