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

Function _calls

tests/test_cpp_template_members.py:19–23  ·  view source on GitHub ↗
(result, caller)

Source from the content-addressed store, hash-verified

17
18
19def _calls(result, caller):
20 nodes = {n["id"]: n for n in result["nodes"]}
21 caller_ids = {n["id"] for n in nodes.values() if n["label"] == caller}
22 return [nodes[e["target"]] for e in result["edges"]
23 if e["relation"] == "calls" and e["source"] in caller_ids]
24
25
26def test_template_declarations_and_definitions_keep_their_class(tmp_path):

Calls

no outgoing calls

Tested by

no test coverage detected