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

Function lookupKeyReadOrReply

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

Source from the content-addressed store, hash-verified

175 }
176}
177robj *lookupKeyReadOrReply(client *c, robj *key, robj *reply) {
178 robj *o = lookupKeyRead(c->db, key);
179 if (!o) SentReplyOnKeyMiss(c, reply);
180 return o;
181}
182
183robj *lookupKeyWriteOrReply(client *c, robj *key, robj *reply) {
184 robj *o = lookupKeyWrite(c->db, key);

Callers 15

hgetCommandFunction · 0.85
hlenCommandFunction · 0.85
hstrlenCommandFunction · 0.85
genericHgetallCommandFunction · 0.85
hexistsCommandFunction · 0.85
hscanCommandFunction · 0.85
hrandfieldCommandFunction · 0.85
geodistCommandFunction · 0.85
getGenericCommandFunction · 0.85
getexCommandFunction · 0.85
getrangeCommandFunction · 0.85

Calls 2

lookupKeyReadFunction · 0.85
SentReplyOnKeyMissFunction · 0.85

Tested by

no test coverage detected