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

Method targets

scripts/theme_gate.py:174–176  ·  view source on GitHub ↗

Destination nodes of every edge seen at ``file:line``.

(self, file: str, line: int)

Source from the content-addressed store, hash-verified

172 return lines
173
174 def targets(self, file: str, line: int) -> list[dict]:
175 """Destination nodes of every edge seen at ``file:line``."""
176 return [self.nodes[e["target"]] for e in self.edges_at.get((file, line), []) if e.get("target") in self.nodes]
177
178 def target_edges(self, file: str, line: int) -> list[tuple[dict, dict]]:
179 return [(e, self.nodes[e["target"]]) for e in self.edges_at.get((file, line), []) if e.get("target") in self.nodes]

Callers 2

hitFunction · 0.45
measureFunction · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected