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

Function gmt_request

tests/test_graph_mem.c:235–240  ·  view source on GitHub ↗

One request: open a query store, walk from `start`, close. */

Source from the content-addressed store, hash-verified

233
234/* One request: open a query store, walk from `start`, close. */
235static int gmt_request(const char *db, int64_t start) {
236 cbm_store_t *q = cbm_store_open_path_query(db);
237 int n = q ? gmt_visited(q, start) : -1;
238 cbm_store_close(q);
239 return n;
240}
241
242/* The SQL reference: a read-only store like the one under test (a writable
243 * open would switch the sealed file to WAL), pinned to the SQL path because

Callers 1

test_graph_mem.cFile · 0.85

Calls 3

gmt_visitedFunction · 0.85
cbm_store_closeFunction · 0.85

Tested by

no test coverage detected