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

Function adapt_fill_edge

internal/cbm/sqlite_writer.c:1887–1889  ·  view source on GitHub ↗

Adapter functions for write_one_table (nodes are written via the streaming * PageBuilder in cbm_writer_append_nodes, so no node adapter is needed here). */

Source from the content-addressed store, hash-verified

1885/* Adapter functions for write_one_table (nodes are written via the streaming
1886 * PageBuilder in cbm_writer_append_nodes, so no node adapter is needed here). */
1887static void adapt_fill_edge(RecordBuilder *r, const void *items, int i) {
1888 fill_edge_record(r, &((const CBMDumpEdge *)items)[i]);
1889}
1890static int64_t adapt_edge_id(const void *items, int i) {
1891 return ((const CBMDumpEdge *)items)[i].id;
1892}

Callers

nothing calls this directly

Calls 1

fill_edge_recordFunction · 0.85

Tested by

no test coverage detected