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

Function rh_count_edges

tests/repro/repro_harness.h:154–156  ·  view source on GitHub ↗

Count edges of a given type in the project graph. Returns -1 on query error. */

Source from the content-addressed store, hash-verified

152
153/* Count edges of a given type in the project graph. Returns -1 on query error. */
154static inline int rh_count_edges(cbm_store_t *store, const char *project, const char *edge) {
155 return store ? cbm_store_count_edges_by_type(store, project, edge) : -1;
156}
157
158/* Count nodes carrying `label`. Returns -1 on query error. */
159static inline int rh_count_label(cbm_store_t *store, const char *project, const char *label) {

Callers 10

repro_issue514.cFile · 0.85
repro_issue523.cFile · 0.85
cr536_setupFunction · 0.85
cr536_count_crossFunction · 0.85
repro_issue480.cFile · 0.85
ib_metricsFunction · 0.85
repro_issue627.cFile · 0.85
repro_issue546.cFile · 0.85
repro_issue408.cFile · 0.85

Calls 1

Tested by

no test coverage detected