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

Function dbsizeCommand

src/db.cpp:1419–1421  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1417}
1418
1419void dbsizeCommand(client *c) {
1420 addReplyLongLong(c,c->db->size());
1421}
1422
1423void lastsaveCommand(client *c) {
1424 addReplyLongLong(c,g_pserver->lastsave);

Callers

nothing calls this directly

Calls 2

addReplyLongLongFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected