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

Function dictSdsKeyCaseCompare

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

A case insensitive version used for the command lookup table and other * places where case insensitive non binary-safe comparison is needed. */

Source from the content-addressed store, hash-verified

1271/* A case insensitive version used for the command lookup table and other
1272 * places where case insensitive non binary-safe comparison is needed. */
1273int dictSdsKeyCaseCompare(void *privdata, const void *key1,
1274 const void *key2)
1275{
1276 DICT_NOTUSED(privdata);
1277
1278 return strcasecmp(key1, key2) == 0;
1279}
1280
1281void dictObjectDestructor(void *privdata, void *val)
1282{

Callers 1

sentinelSetCommandFunction · 0.85

Calls 1

strcasecmpFunction · 0.85

Tested by

no test coverage detected