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

Function oa_count

tests/test_openapi.c:35–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35static int oa_count(const CBMFileResult *r, const char *label) {
36 int n = 0;
37 for (int i = 0; i < r->defs.count; i++) {
38 n += r->defs.items[i].label && strcmp(r->defs.items[i].label, label) == 0;
39 }
40 return n;
41}
42
43static int oa_link(const CBMFileResult *r, const char *source_qn, const char *raw) {
44 int n = 0;

Callers 1

test_openapi.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected