Find the callsites (weight) on the edge from source to target.
(
&self,
source: InstanceId,
target: InstanceId,
)
| 133 | } |
| 134 | } |
| 135 | |
| 136 | /// Find the callsites (weight) on the edge from source to target. |
| 137 | pub fn callsites( |
| 138 | &self, |
| 139 | source: InstanceId, |
| 140 | target: InstanceId, |
| 141 | ) -> Option<Vec<CallSiteLocation>> { |
| 142 | let edge = self.graph.find_edge(source, target)?; |
| 143 | self.graph.edge_weight(edge).cloned() |
| 144 | } |
| 145 |
no outgoing calls
no test coverage detected