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

Function addReplyNull

src/networking.cpp:945–951  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

943}
944
945void addReplyNull(client *c) {
946 if (c->resp == 2) {
947 addReplyProto(c,"$-1\r\n",5);
948 } else {
949 addReplyProto(c,"_\r\n",3);
950 }
951}
952
953void addReplyBool(client *c, int b) {
954 if (c->resp == 2) {

Callers 15

randomkeyCommandFunction · 0.85
dumpCommandFunction · 0.85
sortCommandFunction · 0.85
addHashFieldToReplyFunction · 0.85
memoryCommandFunction · 0.85
geohashCommandFunction · 0.85
geodistCommandFunction · 0.85
zaddGenericCommandFunction · 0.85
zscoreCommandFunction · 0.85
zmscoreCommandFunction · 0.85

Calls 1

addReplyProtoFunction · 0.85

Tested by

no test coverage detected