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

Function cp_edges

tests/test_convergence_probe.c:254–257  ·  view source on GitHub ↗

Count edges of `edge_type`; -1 on DB error. */

Source from the content-addressed store, hash-verified

252
253/* Count edges of `edge_type`; -1 on DB error. */
254static int cp_edges(cbm_store_t *store, const char *project, const char *edge_type) {
255 if (!store) return -1;
256 return cbm_store_count_edges_by_type(store, project, edge_type);
257}
258
259/* Count nodes with a given label. */
260static int cp_count_label(cbm_store_t *store, const char *project, const char *label) {

Callers 1

Calls 1

Tested by

no test coverage detected