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

Function ss_line

tests/test_store_scope.c:66–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64 cbm_store_count_nodes(s,SS_PROJECT)==6;
65}
66static bool ss_line(cbm_store_t *s,int64_t id,int line) {
67 cbm_node_t row={0}; bool ok=cbm_store_find_node_by_id(s,id,&row)==CBM_STORE_OK && row.start_line==line;
68 cbm_node_free_fields(&row); return ok;
69}
70static bool ss_file_open(ss_file_t *f) {
71 memset(f,0,sizeof(*f)); const char *dir=th_mktempdir("cbm-store-scope");
72 if (!dir || strlen(dir)>=sizeof(f->dir)) return false;

Callers 2

ss_file_openFunction · 0.85
test_store_scope.cFile · 0.85

Calls 2

cbm_node_free_fieldsFunction · 0.85

Tested by

no test coverage detected