MCPcopy Create free account
hub / github.com/CodeSentryAI/lockbud / callsites

Method callsites

src/analysis/callgraph/mod.rs:135–142  ·  view source on GitHub ↗

Find the callsites (weight) on the edge from source to target.

(
        &self,
        source: InstanceId,
        target: InstanceId,
    )

Source from the content-addressed store, hash-verified

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

Callers 5

closure_defsite_argsFunction · 0.80
collect_manual_dropFunction · 0.80
track_callchainsFunction · 0.80
callsite_locationsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected