(
id: &str,
kind: ProvenanceNodeKind,
detail: Option<String>,
hash: Option<Hash>,
)
| 30 | .unwrap() |
| 31 | } |
| 32 | fn node( |
| 33 | id: &str, |
| 34 | kind: ProvenanceNodeKind, |
| 35 | detail: Option<String>, |
| 36 | hash: Option<Hash>, |
| 37 | ) -> ProvenanceNode { |
| 38 | ProvenanceNode { |
| 39 | id: id.into(), |
| 40 | kind, |
| 41 | timestamp: 1, |
| 42 | summary: id.into(), |
| 43 | detail, |
| 44 | change_hash: hash, |
| 45 | tool_name: None, |
| 46 | tool_call_id: None, |
| 47 | duration_ms: None, |
| 48 | classified: false, |
| 49 | confidence: None, |
| 50 | consolidated_from: vec![], |
| 51 | } |
| 52 | } |
| 53 | async fn get(root: &std::path::Path, hash: Hash, metadata: bool) -> proto::GetChangeResponse { |
| 54 | let service = LocalService::new(); |
| 55 | let resolved = service |
no outgoing calls
no test coverage detected