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

Function objectCommandLookup

app/redis-6.2.6/src/object.c:1243–1245  ·  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

1241/* This is a helper function for the OBJECT command. We need to lookup keys
1242 * without any modification of LRU or other parameters. */
1243robj *objectCommandLookup(client *c, robj *key) {
1244 return lookupKeyReadWithFlags(c->db,key,LOOKUP_NOTOUCH|LOOKUP_NONOTIFY);
1245}
1246
1247robj *objectCommandLookupOrReply(client *c, robj *key, robj *reply) {
1248 robj *o = objectCommandLookup(c,key);

Callers 1

Calls 1

lookupKeyReadWithFlagsFunction · 0.85

Tested by

no test coverage detected