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

Function extract_local_name

src/graph_buffer/graph_buffer.c:1399–1401  ·  view source on GitHub ↗

local_name feeds the hand-built sqlite_autoindex_edges_1 — its backing * column local_name_gen is GENERATED only for IMPORTS edges (#768). */

Source from the content-addressed store, hash-verified

1397/* local_name feeds the hand-built sqlite_autoindex_edges_1 — its backing
1398 * column local_name_gen is GENERATED only for IMPORTS edges (#768). */
1399static char *extract_local_name(const char *props) {
1400 return extract_prop_string(props, "\"local_name\"", "local_name");
1401}
1402
1403/* Remap a temp edge ID to its final sequential ID, or 0 if out of range. */
1404static int64_t remap_id(const int64_t *temp_to_final, int64_t max_temp_id, int64_t temp_id) {

Callers 1

build_dump_edgesFunction · 0.85

Calls 1

extract_prop_stringFunction · 0.85

Tested by

no test coverage detected