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

Method index_to_instance

src/analysis/callgraph/mod.rs:90–92  ·  view source on GitHub ↗

Get the instance by InstanceId.

(&self, idx: InstanceId)

Source from the content-addressed store, hash-verified

88 .map(|(idx, _)| idx)
89 }
90
91 /// Get the instance by InstanceId.
92 pub fn index_to_instance(&self, idx: InstanceId) -> Option<&CallGraphNode<'tcx>> {
93 self.graph.node_weight(idx)
94 }
95

Callers 10

aliasMethod · 0.80
points_toMethod · 0.80
closure_defsite_argsFunction · 0.80
collect_manual_dropFunction · 0.80
detectMethod · 0.80
detect_condvar_misuseMethod · 0.80
track_callchainsFunction · 0.80
detectMethod · 0.80

Calls 1

node_weightMethod · 0.80

Tested by

no test coverage detected