Like RedisModule_DictCompareC but gets the key to compare with the current * iterator key as a RedisModuleString. */
| 6884 | /* Like RedisModule_DictCompareC but gets the key to compare with the current |
| 6885 | * iterator key as a RedisModuleString. */ |
| 6886 | int RM_DictCompare(RedisModuleDictIter *di, const char *op, RedisModuleString *key) { |
| 6887 | if (raxEOF(&di->ri)) return REDISMODULE_ERR; |
| 6888 | int res = raxCompare(&di->ri,op,key->ptr,sdslen(key->ptr)); |
| 6889 | return res ? REDISMODULE_OK : REDISMODULE_ERR; |
| 6890 | } |
| 6891 | |
| 6892 | |
| 6893 |
nothing calls this directly
no test coverage detected