MCPcopy Create free account
hub / github.com/Graphify-Labs/graphify / _refs

Function _refs

tests/test_cpp_std_stubs.py:39–46  ·  view source on GitHub ↗
(result: dict)

Source from the content-addressed store, hash-verified

37
38
39def _refs(result: dict) -> set[tuple[str, str]]:
40 nodes = _by_id(result)
41 return {
42 (nodes.get(e["source"], {}).get("label", e["source"]),
43 nodes.get(e["target"], {}).get("label", e["target"]))
44 for e in result["edges"]
45 if e["relation"] == "references"
46 }
47
48
49def _project_symbol(result: dict, label: str) -> str:

Calls 2

_by_idFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected