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

Function ia_node_json

src/ui/atlas_impact.c:70–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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);
72 yyjson_mut_obj_add_int(doc, obj, "id", node->id);
73 yyjson_mut_obj_add_strcpy(doc, obj, "name", node->name);
74 yyjson_mut_obj_add_strcpy(doc, obj, "qualified_name", node->qn);
75 yyjson_mut_obj_add_strcpy(doc, obj, "file_path", node->file);
76 yyjson_mut_obj_add_int(doc, obj, "line", node->line);
77 return obj;
78}
79
80/* Every displayed finding carries an actual edge-id path directed from the
81 * dependent to the selection. IMPORTS is a dependency, never a data flow. */

Callers 1

ia_findingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected