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

Function hscanCommand

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

Source from the content-addressed store, hash-verified

950}
951
952void hscanCommand(client *c) {
953 robj *o;
954 unsigned long cursor;
955
956 if (parseScanCursorOrReply(c,c->argv[2],&cursor) == C_ERR) return;
957 if ((o = lookupKeyReadOrReply(c,c->argv[1],shared.emptyscan)) == NULL ||
958 checkType(c,o,OBJ_HASH)) return;
959 scanGenericCommand(c,o,cursor);
960}
961
962static void harndfieldReplyWithZiplist(client *c, unsigned int count, ziplistEntry *keys, ziplistEntry *vals) {
963 for (unsigned long i = 0; i < count; i++) {

Callers

nothing calls this directly

Calls 4

parseScanCursorOrReplyFunction · 0.85
lookupKeyReadOrReplyFunction · 0.85
checkTypeFunction · 0.85
scanGenericCommandFunction · 0.85

Tested by

no test coverage detected