(&self, f: &mut fmt::Formatter<'_>)
| 427 | |
| 428 | impl fmt::Display for ProvenanceGraph { |
| 429 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { |
| 430 | writeln!( |
| 431 | f, |
| 432 | "ProvenanceGraph — {} · {} nodes · {} edges · {} changes", |
| 433 | self.agent_display_name, |
| 434 | self.node_count(), |
| 435 | self.edge_count(), |
| 436 | self.change_count(), |
| 437 | )?; |
| 438 | |
| 439 | let goals = self.nodes_of_kind(ProvenanceNodeKind::Goal); |
| 440 | for goal in &goals { |
| 441 | writeln!(f, " Goal: {}", goal.summary)?; |
| 442 | } |
| 443 | |
| 444 | writeln!(f, " {}", self.stats)?; |
| 445 | Ok(()) |
| 446 | } |
| 447 | } |
nothing calls this directly
no test coverage detected