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

Function addReplyNull

app/redis-6.2.6/src/networking.c:786–792  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

784}
785
786void addReplyNull(client *c) {
787 if (c->resp == 2) {
788 addReplyProto(c,"$-1\r\n",5);
789 } else {
790 addReplyProto(c,"_\r\n",3);
791 }
792}
793
794void addReplyBool(client *c, int b) {
795 if (c->resp == 2) {

Callers 15

luaReplyToRedisReplyFunction · 0.85
sentinelCommandFunction · 0.85
addHashFieldToReplyFunction · 0.85
geohashCommandFunction · 0.85
geodistCommandFunction · 0.85
mgetCommandFunction · 0.85
bitfieldGenericFunction · 0.85
addReplyCommandFunction · 0.85
memoryCommandFunction · 0.85
addReplyBulkCStringFunction · 0.85

Calls 1

addReplyProtoFunction · 0.85

Tested by

no test coverage detected