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

Function cbm_ht_has

src/foundation/hash_table.c:169–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167}
168
169bool cbm_ht_has(const CBMHashTable *ht, const char *key) {
170 if (!ht || !key)
171 return false;
172 cbm_vt_itr itr = cbm_vt_get(&ht->vt, key);
173 HT_LOOKED_UP(ht, key, !cbm_vt_is_end(itr));
174 return !cbm_vt_is_end(itr);
175}
176
177const char *cbm_ht_get_key(const CBMHashTable *ht, const char *key) {
178 if (!ht || !key)

Callers 15

cbm_quarantine_loadFunction · 0.85
cbm_index_is_quarantinedFunction · 0.85
ap_componentsFunction · 0.85
ap_overview_groupingFunction · 0.85
tracked_has_fileFunction · 0.85
tracked_has_dirFunction · 0.85
tracked_add_dirsFunction · 0.85
rb_distinct_is_newFunction · 0.85
distinct_list_addFunction · 0.85

Calls

no outgoing calls

Tested by 1

cbm_ti_source_addFunction · 0.68