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

Function adapt_token_vec_id

internal/cbm/sqlite_writer.c:1902–1904  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1900 fill_token_vec_record(r, &((const CBMDumpTokenVec *)items)[i]);
1901}
1902static int64_t adapt_token_vec_id(const void *items, int i) {
1903 return ((const CBMDumpTokenVec *)items)[i].id;
1904}
1905
1906/* Phase 2: Write metadata tables (projects, file_hashes, summaries, sqlite_sequence). */
1907static void write_metadata_tables(write_db_ctx_t *w, uint32_t *projects_root,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected