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