The SCAN command completely relies on scanGenericCommand. */
| 1026 | |
| 1027 | /* The SCAN command completely relies on scanGenericCommand. */ |
| 1028 | void 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 | |
| 1034 | void dbsizeCommand(client *c) { |
| 1035 | addReplyLongLong(c,dictSize(c->db->dict)); |
nothing calls this directly
no test coverage detected