| 948 | } |
| 949 | |
| 950 | void hexistsCommand(client *c) { |
| 951 | robj_roptr o; |
| 952 | if ((o = lookupKeyReadOrReply(c,c->argv[1],shared.czero)) == nullptr || |
| 953 | checkType(c,o,OBJ_HASH)) return; |
| 954 | |
| 955 | addReply(c, hashTypeExists(o,szFromObj(c->argv[2])) ? shared.cone : shared.czero); |
| 956 | } |
| 957 | |
| 958 | void hscanCommand(client *c) { |
| 959 | robj_roptr o; |
nothing calls this directly
no test coverage detected