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

Function adapt_vector_id

internal/cbm/sqlite_writer.c:1896–1898  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1894 fill_vector_record(r, &((const CBMDumpVector *)items)[i]);
1895}
1896static int64_t adapt_vector_id(const void *items, int i) {
1897 return ((const CBMDumpVector *)items)[i].node_id;
1898}
1899static void adapt_fill_token_vec(RecordBuilder *r, const void *items, int i) {
1900 fill_token_vec_record(r, &((const CBMDumpTokenVec *)items)[i]);
1901}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected