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

Function typeCommand

src/db.cpp:1449–1452  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1447}
1448
1449void typeCommand(client *c) {
1450 robj_roptr o = lookupKeyReadWithFlags(c->db,c->argv[1],LOOKUP_NOTOUCH);
1451 addReplyStatus(c, getObjectTypeName(o));
1452}
1453
1454void shutdownCommand(client *c) {
1455 int flags = 0;

Callers

nothing calls this directly

Calls 3

lookupKeyReadWithFlagsFunction · 0.85
addReplyStatusFunction · 0.85
getObjectTypeNameFunction · 0.85

Tested by

no test coverage detected