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

Function brpoplpushCommand

src/t_list.cpp:1028–1033  ·  view source on GitHub ↗

BRPOPLPUSH */

Source from the content-addressed store, hash-verified

1026
1027/* BRPOPLPUSH <source> <destination> <timeout> */
1028void brpoplpushCommand(client *c) {
1029 mstime_t timeout;
1030 if (getTimeoutFromObjectOrReply(c,c->argv[3],&timeout,UNIT_SECONDS)
1031 != C_OK) return;
1032 blmoveGenericCommand(c, LIST_TAIL, LIST_HEAD, timeout);
1033}

Callers

nothing calls this directly

Calls 2

blmoveGenericCommandFunction · 0.85

Tested by

no test coverage detected