(id: &str, summary: &str)
| 57 | } |
| 58 | |
| 59 | fn make_verification(id: &str, summary: &str) -> ProvenanceNode { |
| 60 | ProvenanceNode { |
| 61 | id: id.into(), |
| 62 | kind: ProvenanceNodeKind::Verification, |
| 63 | timestamp: 3000, |
| 64 | summary: summary.into(), |
| 65 | detail: None, |
| 66 | change_hash: None, |
| 67 | tool_name: Some("bash".into()), |
| 68 | tool_call_id: None, |
| 69 | duration_ms: Some(3200), |
| 70 | classified: false, |
| 71 | confidence: None, |
| 72 | consolidated_from: Vec::new(), |
| 73 | } |
| 74 | } |
| 75 | |
| 76 | fn make_edge(from: &str, to: &str, kind: ProvenanceEdgeKind) -> ProvenanceEdge { |
| 77 | ProvenanceEdge { |