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

Function dictDelete

app/redis-6.2.6/src/dict.c:430–432  ·  view source on GitHub ↗

Remove an element, returning DICT_OK on success or DICT_ERR if the * element was not found. */

Source from the content-addressed store, hash-verified

428/* Remove an element, returning DICT_OK on success or DICT_ERR if the
429 * element was not found. */
430int dictDelete(dict *ht, const void *key) {
431 return dictGenericDelete(ht,key,0) ? DICT_OK : DICT_ERR;
432}
433
434/* Remove an element from the table, but without actually releasing
435 * the key, value and dictionary entry. The dictionary entry is returned

Callers 15

rewriteConfigRewriteLineFunction · 0.70
dictTestFunction · 0.70
unblockClientWaitingDataFunction · 0.70
pubsubUnsubscribeChannelFunction · 0.70
pubsubUnsubscribePatternFunction · 0.70
sentinelCommandFunction · 0.70
sentinelSetCommandFunction · 0.70
expireSlaveKeysFunction · 0.70
hashTypeDeleteFunction · 0.70

Calls 1

dictGenericDeleteFunction · 0.85

Tested by

no test coverage detected