MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / getStringObjectFromListPosition

Function getStringObjectFromListPosition

src/t_list.cpp:772–779  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

serveClientBlockedOnListFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected