(kind: &str, value: &impl serde::Serialize)
| 30 | } |
| 31 | |
| 32 | fn local_id(kind: &str, value: &impl serde::Serialize) -> String { |
| 33 | format!( |
| 34 | "{kind}:{}", |
| 35 | Hash::of(&serde_json::to_vec(value).expect("serializable graph identity")).to_base32() |
| 36 | ) |
| 37 | } |
| 38 | |
| 39 | pub(super) fn finding_id(finding: &ReviewFinding) -> String { |
| 40 | let mut finding = finding.clone(); |
no outgoing calls
no test coverage detected