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

Function setexCommand

src/t_string.cpp:282–285  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

280}
281
282void setexCommand(client *c) {
283 c->argv[3] = tryObjectEncoding(c->argv[3]);
284 setGenericCommand(c,OBJ_EX,c->argv[1],c->argv[3],c->argv[2],UNIT_SECONDS,NULL,NULL);
285}
286
287void psetexCommand(client *c) {
288 c->argv[3] = tryObjectEncoding(c->argv[3]);

Callers

nothing calls this directly

Calls 2

tryObjectEncodingFunction · 0.85
setGenericCommandFunction · 0.85

Tested by

no test coverage detected