(
node: &crate::GraphNode<Option<Hash>>,
table: &mut format_v3::HashDedupTable,
)
| 907 | } |
| 908 | |
| 909 | fn collect_graph_node_hash( |
| 910 | node: &crate::GraphNode<Option<Hash>>, |
| 911 | table: &mut format_v3::HashDedupTable, |
| 912 | ) -> Result<(), format_v3::FormatError> { |
| 913 | if let Some(ref h) = node.change { |
| 914 | table.insert(*h.as_bytes())?; |
| 915 | } |
| 916 | Ok(()) |
| 917 | } |
| 918 | |
| 919 | fn collect_insertion_hashes( |
| 920 | v: &Insertion<Option<Hash>>, |