| 770 | } |
| 771 | |
| 772 | robj *getStringObjectFromListPosition(int position) { |
| 773 | if (position == LIST_HEAD) { |
| 774 | return shared.left; |
| 775 | } else { |
| 776 | // LIST_TAIL |
| 777 | return shared.right; |
| 778 | } |
| 779 | } |
| 780 | |
| 781 | void lmoveGenericCommand(client *c, int wherefrom, int whereto) { |
| 782 | robj *sobj, *value; |
no outgoing calls
no test coverage detected