(
node: &crate::GraphNode<Option<Hash>>,
table: &mut format_v3::HashDedupTable,
)
| 604 | } |
| 605 | |
| 606 | fn collect_graph_node_hash( |
| 607 | node: &crate::GraphNode<Option<Hash>>, |
| 608 | table: &mut format_v3::HashDedupTable, |
| 609 | ) -> Result<(), format_v3::FormatError> { |
| 610 | if let Some(ref h) = node.change { |
| 611 | table.insert(*h.as_bytes())?; |
| 612 | } |
| 613 | Ok(()) |
| 614 | } |
| 615 | |
| 616 | fn collect_insertion_hashes( |
| 617 | v: &Insertion<Option<Hash>>, |