(
pos: &crate::Position<Option<Hash>>,
table: &mut format_v3::HashDedupTable,
)
| 897 | use crate::change::atom::{Atom, EdgeUpdate, Insertion, NewEdge}; |
| 898 | |
| 899 | fn collect_position_hash( |
| 900 | pos: &crate::Position<Option<Hash>>, |
| 901 | table: &mut format_v3::HashDedupTable, |
| 902 | ) -> Result<(), format_v3::FormatError> { |
| 903 | if let Some(ref h) = pos.change { |
| 904 | table.insert(*h.as_bytes())?; |
| 905 | } |
| 906 | Ok(()) |
| 907 | } |
| 908 | |
| 909 | fn collect_graph_node_hash( |
| 910 | node: &crate::GraphNode<Option<Hash>>, |