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

Function lookupCommand

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

Source from the content-addressed store, hash-verified

3531/* ====================== Commands lookup and execution ===================== */
3532
3533struct redisCommand *lookupCommand(sds name) {
3534 return dictFetchValue(server.commands, name);
3535}
3536
3537struct redisCommand *lookupCommandByCString(const char *s) {
3538 struct redisCommand *cmd;

Callers 8

luaRedisGenericCommandFunction · 0.85
processCommandFunction · 0.85
commandCommandFunction · 0.85
loadAppendOnlyFileFunction · 0.85
RM_CreateCommandFunction · 0.85
RM_CallFunction · 0.85
RM_GetCommandKeysFunction · 0.85

Calls 1

dictFetchValueFunction · 0.85

Tested by

no test coverage detected