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

Function count_by_label

tests/test_incremental.c:195–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193}
194
195static int count_by_label(const char *label) {
196 char *resp =
197 call_tool("search_graph", "{\"project\":\"%s\",\"label\":\"%s\"}", g_project, label);
198 int total = count_in_response(resp, "total");
199 free(resp);
200 return total;
201}
202
203/* ── Setup / Teardown ─────────────────────────────────────────────── */
204

Callers 1

test_incremental.cFile · 0.85

Calls 2

count_in_responseFunction · 0.85
call_toolFunction · 0.70

Tested by

no test coverage detected