| 856 | } |
| 857 | |
| 858 | void hlenCommand(client *c) { |
| 859 | robj *o; |
| 860 | |
| 861 | if ((o = lookupKeyReadOrReply(c,c->argv[1],shared.czero)) == NULL || |
| 862 | checkType(c,o,OBJ_HASH)) return; |
| 863 | |
| 864 | addReplyLongLong(c,hashTypeLength(o)); |
| 865 | } |
| 866 | |
| 867 | void hstrlenCommand(client *c) { |
| 868 | robj *o; |
nothing calls this directly
no test coverage detected