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

Function objectCommandLookup

src/object.cpp:1326–1328  ·  view source on GitHub ↗

This is a helper function for the OBJECT command. We need to lookup keys * without any modification of LRU or other parameters. */

Source from the content-addressed store, hash-verified

1324/* This is a helper function for the OBJECT command. We need to lookup keys
1325 * without any modification of LRU or other parameters. */
1326robj_roptr objectCommandLookup(client *c, robj *key) {
1327 return c->db->find(key);
1328}
1329
1330robj_roptr objectCommandLookupOrReply(client *c, robj *key, robj *reply) {
1331 robj_roptr o = objectCommandLookup(c,key);

Callers 1

Calls 1

findMethod · 0.45

Tested by

no test coverage detected