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

Function gmt_thread_main

tests/test_graph_mem.c:553–562  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

551} gmt_thread_arg_t;
552
553static void *gmt_thread_main(void *arg) {
554 gmt_thread_arg_t *t = arg;
555 cbm_store_t *s = cbm_store_open_path_query(t->db);
556 cbm_traverse_result_t got = {0};
557 t->same = s && cbm_store_bfs(s, t->start, "inbound", NULL, 0, 6, 100, &got) == CBM_STORE_OK &&
558 gmt_traverse_eq(t->expect, &got);
559 cbm_store_traverse_free(&got);
560 cbm_store_close(s);
561 return NULL;
562}
563
564TEST(graph_mem_concurrent_requests_build_once) {
565 gmt_fixture_t f;

Callers

nothing calls this directly

Calls 5

cbm_store_bfsFunction · 0.85
gmt_traverse_eqFunction · 0.85
cbm_store_traverse_freeFunction · 0.85
cbm_store_closeFunction · 0.85

Tested by

no test coverage detected