MCPcopy Create free account
hub / github.com/F-Stack/f-stack / scanCommand

Function scanCommand

app/redis-6.2.6/src/db.c:1028–1032  ·  view source on GitHub ↗

The SCAN command completely relies on scanGenericCommand. */

Source from the content-addressed store, hash-verified

1026
1027/* The SCAN command completely relies on scanGenericCommand. */
1028void scanCommand(client *c) {
1029 unsigned long cursor;
1030 if (parseScanCursorOrReply(c,c->argv[1],&cursor) == C_ERR) return;
1031 scanGenericCommand(c,NULL,cursor);
1032}
1033
1034void dbsizeCommand(client *c) {
1035 addReplyLongLong(c,dictSize(c->db->dict));

Callers

nothing calls this directly

Calls 2

parseScanCursorOrReplyFunction · 0.85
scanGenericCommandFunction · 0.85

Tested by

no test coverage detected