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

Function objectCommandLookupOrReply

app/redis-6.2.6/src/object.c:1247–1251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1245}
1246
1247robj *objectCommandLookupOrReply(client *c, robj *key, robj *reply) {
1248 robj *o = objectCommandLookup(c,key);
1249 if (!o) SentReplyOnKeyMiss(c, reply);
1250 return o;
1251}
1252
1253/* Object command allows to inspect the internals of a Redis Object.
1254 * Usage: OBJECT <refcount|encoding|idletime|freq> <key> */

Callers 2

objectCommandFunction · 0.85
debugCommandFunction · 0.85

Calls 2

objectCommandLookupFunction · 0.85
SentReplyOnKeyMissFunction · 0.85

Tested by

no test coverage detected