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

Function ACLClearCommandID

app/redis-6.2.6/src/acl.c:1157–1161  ·  view source on GitHub ↗

Clear command id table and reset nextid to 0. */

Source from the content-addressed store, hash-verified

1155
1156/* Clear command id table and reset nextid to 0. */
1157void ACLClearCommandID(void) {
1158 if (commandId) raxFree(commandId);
1159 commandId = NULL;
1160 nextid = 0;
1161}
1162
1163/* Return an username by its name, or NULL if the user does not exist. */
1164user *ACLGetUserByName(const char *name, size_t namelen) {

Callers 1

initSentinelFunction · 0.85

Calls 1

raxFreeFunction · 0.85

Tested by

no test coverage detected