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

Method location

src/analysis/callgraph/mod.rs:36–41  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

34 // Indirect(Location),
35}
36
37impl CallSiteLocation {
38 pub fn location(&self) -> Option<Location> {
39 match self {
40 Self::Direct(loc) | Self::ClosureDef(_, Some(loc)) => Some(*loc),
41 _ => None,
42 }
43 }
44}

Callers 4

collect_manual_dropFunction · 0.80
detectMethod · 0.80
track_callchainsFunction · 0.80
callsite_locationsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected