| 706 | } |
| 707 | |
| 708 | void strlenCommand(client *c) { |
| 709 | robj_roptr o; |
| 710 | if ((o = lookupKeyReadOrReply(c,c->argv[1],shared.czero)) == nullptr || |
| 711 | checkType(c,o,OBJ_STRING)) return; |
| 712 | addReplyLongLong(c,stringObjectLen(o)); |
| 713 | } |
| 714 | |
| 715 | |
| 716 | /* STRALGO -- Implement complex algorithms on strings. |
nothing calls this directly
no test coverage detected