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

Function ia_read_node

src/ui/atlas_impact.c:61–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59} ia_node_t;
60
61static void ia_read_node(ia_node_t *node, sqlite3_stmt *st) {
62 node->id = sqlite3_column_int64(st, 0);
63 snprintf(node->name, sizeof(node->name), "%s", ia_text(st, 1));
64 snprintf(node->qn, sizeof(node->qn), "%s", ia_text(st, 2));
65 snprintf(node->file, sizeof(node->file), "%s", ia_text(st, 3));
66 node->line = sqlite3_column_int(st, 4);
67 node->parent = -1;
68}
69
70static yyjson_mut_val *ia_node_json(yyjson_mut_doc *doc, const ia_node_t *node) {
71 yyjson_mut_val *obj = yyjson_mut_obj(doc);

Callers 1

ia_structuralFunction · 0.85

Calls 1

ia_textFunction · 0.85

Tested by

no test coverage detected