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

Function gmt_visited

tests/test_graph_mem.c:225–232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223}
224
225static int gmt_visited(cbm_store_t *s, int64_t start) {
226 cbm_traverse_result_t tr = {0};
227 int n = cbm_store_bfs(s, start, "outbound", NULL, 0, 3, 100, &tr) == CBM_STORE_OK
228 ? tr.visited_count
229 : -1;
230 cbm_store_traverse_free(&tr);
231 return n;
232}
233
234/* One request: open a query store, walk from `start`, close. */
235static int gmt_request(const char *db, int64_t start) {

Callers 3

gmt_requestFunction · 0.85
gmt_open_sql_referenceFunction · 0.85
test_graph_mem.cFile · 0.85

Calls 2

cbm_store_bfsFunction · 0.85
cbm_store_traverse_freeFunction · 0.85

Tested by

no test coverage detected