| 942 | } |
| 943 | |
| 944 | void hexistsCommand(client *c) { |
| 945 | robj *o; |
| 946 | if ((o = lookupKeyReadOrReply(c,c->argv[1],shared.czero)) == NULL || |
| 947 | checkType(c,o,OBJ_HASH)) return; |
| 948 | |
| 949 | addReply(c, hashTypeExists(o,c->argv[2]->ptr) ? shared.cone : shared.czero); |
| 950 | } |
| 951 | |
| 952 | void hscanCommand(client *c) { |
| 953 | robj *o; |
nothing calls this directly
no test coverage detected