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

Function lookupKeyWriteOrReply

app/redis-6.2.6/src/db.c:183–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181}
182
183robj *lookupKeyWriteOrReply(client *c, robj *key, robj *reply) {
184 robj *o = lookupKeyWrite(c->db, key);
185 if (!o) SentReplyOnKeyMiss(c, reply);
186 return o;
187}
188
189/* Add the key to the DB. It's up to the caller to increment the reference
190 * counter of the value if needed.

Callers 15

hdelCommandFunction · 0.85
renameGenericCommandFunction · 0.85
sremCommandFunction · 0.85
spopWithCountCommandFunction · 0.85
spopCommandFunction · 0.85
zremCommandFunction · 0.85
zremrangeGenericCommandFunction · 0.85
xsetidCommandFunction · 0.85
xdelCommandFunction · 0.85
xtrimCommandFunction · 0.85
linsertCommandFunction · 0.85
lsetCommandFunction · 0.85

Calls 2

lookupKeyWriteFunction · 0.85
SentReplyOnKeyMissFunction · 0.85

Tested by

no test coverage detected