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

Method new

src/detector/lock/report.rs:20–34  ·  view source on GitHub ↗
(
        first_lock_type: String,
        first_lock_span: String,
        second_lock_type: String,
        second_lock_span: String,
        callchains: Vec<Vec<Vec<String>>>,
    )

Source from the content-addressed store, hash-verified

18
19impl DeadlockDiagnosis {
20 pub fn new(
21 first_lock_type: String,
22 first_lock_span: String,
23 second_lock_type: String,
24 second_lock_span: String,
25 callchains: Vec<Vec<Vec<String>>>,
26 ) -> Self {
27 Self {
28 first_lock_type,
29 first_lock_span,
30 second_lock_type,
31 second_lock_span,
32 callchains,
33 }
34 }
35}
36
37#[derive(Debug, Serialize)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected