| 950 | } |
| 951 | |
| 952 | void 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 | |
| 962 | static void harndfieldReplyWithZiplist(client *c, unsigned int count, ziplistEntry *keys, ziplistEntry *vals) { |
| 963 | for (unsigned long i = 0; i < count; i++) { |
nothing calls this directly
no test coverage detected