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

Function ACLListMatchSds

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

Method for passwords/pattern comparison used for the user->passwords list * so that we can search for items with listSearchKey(). */

Source from the content-addressed store, hash-verified

223/* Method for passwords/pattern comparison used for the user->passwords list
224 * so that we can search for items with listSearchKey(). */
225int ACLListMatchSds(void *a, void *b) {
226 return sdscmp(a,b) == 0;
227}
228
229/* Method to free list elements from ACL users password/patterns lists. */
230void ACLListFreeSds(void *item) {

Callers

nothing calls this directly

Calls 1

sdscmpFunction · 0.85

Tested by

no test coverage detected