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

Function cmdHasMovableKeys

app/redis-6.2.6/src/server.c:3947–3950  ·  view source on GitHub ↗

Returns 1 for commands that may have key names in their arguments, but have * no pre-determined key positions. */

Source from the content-addressed store, hash-verified

3945/* Returns 1 for commands that may have key names in their arguments, but have
3946 * no pre-determined key positions. */
3947static int cmdHasMovableKeys(struct redisCommand *cmd) {
3948 return (cmd->getkeys_proc && !(cmd->flags & CMD_MODULE)) ||
3949 cmd->flags & CMD_MODULE_GETKEYS;
3950}
3951
3952/* If this function gets called we already read a whole
3953 * command, arguments are in the client argv/argc fields.

Callers 2

processCommandFunction · 0.85
addReplyCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected