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

Function extract_local_name

src/graph_buffer/graph_buffer.c:2268–2270  ·  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

2266/* local_name feeds the hand-built sqlite_autoindex_edges_1 — its backing
2267 * column local_name_gen is GENERATED only for IMPORTS edges (#768). */
2268static char *extract_local_name(const char *props) {
2269 return extract_prop_string(props, "\"local_name\"", "local_name");
2270}
2271
2272/* Remap a temp edge ID to its final sequential ID, or 0 if out of range. */
2273static 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