MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / objectCommandLookupOrReply

Function objectCommandLookupOrReply

src/object.cpp:1330–1334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1328}
1329
1330robj_roptr objectCommandLookupOrReply(client *c, robj *key, robj *reply) {
1331 robj_roptr o = objectCommandLookup(c,key);
1332 if (!o) SentReplyOnKeyMiss(c, reply);
1333 return o;
1334}
1335
1336/* Object command allows to inspect the internals of a Redis Object.
1337 * 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