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

Function ss_edge

tests/test_store_scope.c:51–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49 return cbm_store_upsert_node(s,&row);
50}
51static bool ss_edge(cbm_store_t *s,int64_t from,int64_t to,const char *type) {
52 cbm_edge_t e={.project=SS_PROJECT,.source_id=from,.target_id=to,.type=type,.properties_json="{}"};
53 return cbm_store_insert_edge(s,&e)>0;
54}
55static bool ss_seed(cbm_store_t *s,ss_ids_t *id) {
56 if (!s || cbm_store_upsert_project(s,SS_PROJECT,"/scope-fixture")!=CBM_STORE_OK) return false;
57 /* Deliberately nonlexical insertion order. */

Callers 3

ss_seedFunction · 0.85
test_store_scope.cFile · 0.85
ss_sweep_runFunction · 0.85

Calls 1

cbm_store_insert_edgeFunction · 0.85

Tested by

no test coverage detected