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

Function RM_ReplyWithEmptyString

app/redis-6.2.6/src/module.c:1666–1671  ·  view source on GitHub ↗

Reply with an empty string. * * The function always returns REDISMODULE_OK. */

Source from the content-addressed store, hash-verified

1664 *
1665 * The function always returns REDISMODULE_OK. */
1666int RM_ReplyWithEmptyString(RedisModuleCtx *ctx) {
1667 client *c = moduleGetReplyClient(ctx);
1668 if (c == NULL) return REDISMODULE_OK;
1669 addReply(c,shared.emptybulk);
1670 return REDISMODULE_OK;
1671}
1672
1673/* Reply with a binary safe string, which should not be escaped or filtered
1674 * taking in input a C buffer pointer and length.

Callers

nothing calls this directly

Calls 2

moduleGetReplyClientFunction · 0.85
addReplyFunction · 0.85

Tested by

no test coverage detected