LMOVE (LEFT|RIGHT) (LEFT|RIGHT) */
| 823 | |
| 824 | /* LMOVE <source> <destination> (LEFT|RIGHT) (LEFT|RIGHT) */ |
| 825 | void lmoveCommand(client *c) { |
| 826 | int wherefrom, whereto; |
| 827 | if (getListPositionFromObjectOrReply(c,c->argv[3],&wherefrom) |
| 828 | != C_OK) return; |
| 829 | if (getListPositionFromObjectOrReply(c,c->argv[4],&whereto) |
| 830 | != C_OK) return; |
| 831 | lmoveGenericCommand(c, wherefrom, whereto); |
| 832 | } |
| 833 | |
| 834 | /* This is the semantic of this command: |
| 835 | * RPOPLPUSH srclist dstlist: |
nothing calls this directly
no test coverage detected