The SCAN command completely relies on scanGenericCommand. */
| 1411 | |
| 1412 | /* The SCAN command completely relies on scanGenericCommand. */ |
| 1413 | void scanCommand(client *c) { |
| 1414 | unsigned long cursor; |
| 1415 | if (parseScanCursorOrReply(c,c->argv[1],&cursor) == C_ERR) return; |
| 1416 | scanGenericCommand(c,nullptr,cursor); |
| 1417 | } |
| 1418 | |
| 1419 | void dbsizeCommand(client *c) { |
| 1420 | addReplyLongLong(c,c->db->size()); |
nothing calls this directly
no test coverage detected