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

Function ldbRedisProtocolToHuman_Int

src/scripting.cpp:2365–2369  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2363 * take care of a given Redis return type. */
2364
2365char *ldbRedisProtocolToHuman_Int(sds *o, char *reply) {
2366 char *p = strchr(reply+1,'\r');
2367 *o = sdscatlen(*o,reply+1,p-reply-1);
2368 return p+2;
2369}
2370
2371char *ldbRedisProtocolToHuman_Bulk(sds *o, char *reply) {
2372 char *p = strchr(reply+1,'\r');

Callers 1

ldbRedisProtocolToHumanFunction · 0.85

Calls 1

sdscatlenFunction · 0.85

Tested by

no test coverage detected