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

Function sscanCommand

app/redis-6.2.6/src/t_set.c:1188–1196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1186}
1187
1188void sscanCommand(client *c) {
1189 robj *set;
1190 unsigned long cursor;
1191
1192 if (parseScanCursorOrReply(c,c->argv[2],&cursor) == C_ERR) return;
1193 if ((set = lookupKeyReadOrReply(c,c->argv[1],shared.emptyscan)) == NULL ||
1194 checkType(c,set,OBJ_SET)) return;
1195 scanGenericCommand(c,set,cursor);
1196}

Callers

nothing calls this directly

Calls 4

parseScanCursorOrReplyFunction · 0.85
lookupKeyReadOrReplyFunction · 0.85
checkTypeFunction · 0.85
scanGenericCommandFunction · 0.85

Tested by

no test coverage detected