(
node: &crate::GraphNode<Option<Hash>>,
table: &mut format_v3::HashDedupTable,
)
| 1151 | } |
| 1152 | |
| 1153 | fn collect_graph_node_hash( |
| 1154 | node: &crate::GraphNode<Option<Hash>>, |
| 1155 | table: &mut format_v3::HashDedupTable, |
| 1156 | ) -> Result<(), format_v3::FormatError> { |
| 1157 | if let Some(ref h) = node.change { |
| 1158 | table.insert(*h.as_bytes())?; |
| 1159 | } |
| 1160 | Ok(()) |
| 1161 | } |
| 1162 | |
| 1163 | fn collect_insertion_hashes( |
| 1164 | v: &Insertion<Option<Hash>>, |