MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / HashTableDelete

Function HashTableDelete

src/util/dict.c:513–515  ·  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

511/* Remove an element, returning DICT_OK on success or DICT_ERR if the
512 * element was not found. */
513int HashTableDelete(dict *ht, const void *key) {
514 return dictGenericDelete(ht,key,0) ? DICT_OK : DICT_ERR;
515}
516
517/* Remove an element from the table, but without actually releasing
518 * the key, value and dictionary entry. The dictionary entry is returned

Callers

nothing calls this directly

Calls 1

dictGenericDeleteFunction · 0.85

Tested by

no test coverage detected