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

Function why_edge_line

src/ui/atlas_why.c:280–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

278}
279
280static int why_edge_line(const char *properties_json) {
281 if (!properties_json)
282 return -1;
283 yyjson_doc *doc = yyjson_read(properties_json, strlen(properties_json), 0);
284 if (!doc)
285 return -1;
286 int line = (int)yyjson_get_int(yyjson_obj_get(yyjson_doc_get_root(doc), "line"));
287 yyjson_doc_free(doc);
288 return line > 0 ? line : -1;
289}
290
291/* Dynamic-dispatch uncertainty: how many candidate targets the resolver saw
292 * for this call site (1 = certain, >1 = the ◇ case). */

Callers 1

cbm_atlas_why_jsonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected