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

Function ecell_source

internal/cbm/sqlite_writer.c:1635–1637  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1633typedef uint8_t *(*edge_cell_fn)(const CBMDumpEdge *e, int *out_len);
1634
1635static uint8_t *ecell_source(const CBMDumpEdge *e, int *out_len) {
1636 return build_index_entry_int_text_rowid(e->source_id, e->type, e->id, out_len);
1637}
1638static uint8_t *ecell_target(const CBMDumpEdge *e, int *out_len) {
1639 return build_index_entry_int_text_rowid(e->target_id, e->type, e->id, out_len);
1640}

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected