MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / cbm_ht_get_key

Function cbm_ht_get_key

src/foundation/hash_table.c:100–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100const char *cbm_ht_get_key(const CBMHashTable *ht, const char *key) {
101 if (!ht || !key)
102 return NULL;
103 cbm_vt_itr itr = cbm_vt_get(&ht->vt, key);
104 if (cbm_vt_is_end(itr))
105 return NULL;
106 return itr.data->key;
107}
108
109void *cbm_ht_delete(CBMHashTable *ht, const char *key) {
110 if (!ht || !key)

Callers 9

unindex_edgeFunction · 0.85
lsp_idx_keep_bestFunction · 0.85
pxc_append_resultsFunction · 0.85
cbm_registry_addFunction · 0.85
resolve_import_mapFunction · 0.85
resolve_same_moduleFunction · 0.85
test_hash_table.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected