(
pos: &crate::Position<Option<Hash>>,
table: &mut format_v3::HashDedupTable,
)
| 1141 | use crate::change::atom::{Atom, EdgeUpdate, Insertion, NewEdge}; |
| 1142 | |
| 1143 | fn collect_position_hash( |
| 1144 | pos: &crate::Position<Option<Hash>>, |
| 1145 | table: &mut format_v3::HashDedupTable, |
| 1146 | ) -> Result<(), format_v3::FormatError> { |
| 1147 | if let Some(ref h) = pos.change { |
| 1148 | table.insert(*h.as_bytes())?; |
| 1149 | } |
| 1150 | Ok(()) |
| 1151 | } |
| 1152 | |
| 1153 | fn collect_graph_node_hash( |
| 1154 | node: &crate::GraphNode<Option<Hash>>, |