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

Method new

src/detector/report.rs:23–30  ·  view source on GitHub ↗
(bug_kind: String, possibility: String, diagnosis: D, explanation: String)

Source from the content-addressed store, hash-verified

21
22impl<D: std::fmt::Debug> ReportContent<D> {
23 pub fn new(bug_kind: String, possibility: String, diagnosis: D, explanation: String) -> Self {
24 Self {
25 bug_kind,
26 possibility,
27 diagnosis,
28 explanation,
29 }
30 }
31}
32
33#[derive(Debug, Serialize)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected