MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / make_verification

Function make_verification

atomic-core/src/change/provenance_graph/tests.rs:59–74  ·  view source on GitHub ↗
(id: &str, summary: &str)

Source from the content-addressed store, hash-verified

57}
58
59fn 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
76fn make_edge(from: &str, to: &str, kind: ProvenanceEdgeKind) -> ProvenanceEdge {
77 ProvenanceEdge {

Callers 1

sample_graphFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected