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

Function hlenCommand

app/redis-6.2.6/src/t_hash.c:858–865  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

856}
857
858void hlenCommand(client *c) {
859 robj *o;
860
861 if ((o = lookupKeyReadOrReply(c,c->argv[1],shared.czero)) == NULL ||
862 checkType(c,o,OBJ_HASH)) return;
863
864 addReplyLongLong(c,hashTypeLength(o));
865}
866
867void hstrlenCommand(client *c) {
868 robj *o;

Callers

nothing calls this directly

Calls 4

lookupKeyReadOrReplyFunction · 0.85
checkTypeFunction · 0.85
addReplyLongLongFunction · 0.85
hashTypeLengthFunction · 0.85

Tested by

no test coverage detected