| 861 | } |
| 862 | |
| 863 | void hlenCommand(client *c) { |
| 864 | robj_roptr o; |
| 865 | |
| 866 | if ((o = lookupKeyReadOrReply(c,c->argv[1],shared.czero)) == nullptr || |
| 867 | checkType(c,o,OBJ_HASH)) return; |
| 868 | |
| 869 | addReplyLongLong(c,hashTypeLength(o)); |
| 870 | } |
| 871 | |
| 872 | void hstrlenCommand(client *c) { |
| 873 | robj_roptr o; |
nothing calls this directly
no test coverage detected