(
e: &NewEdge<Option<Hash>>,
table: &mut format_v3::HashDedupTable,
)
| 628 | } |
| 629 | |
| 630 | fn collect_new_edge_hashes( |
| 631 | e: &NewEdge<Option<Hash>>, |
| 632 | table: &mut format_v3::HashDedupTable, |
| 633 | ) -> Result<(), format_v3::FormatError> { |
| 634 | collect_position_hash(&e.from, table)?; |
| 635 | collect_graph_node_hash(&e.to, table)?; |
| 636 | if let Some(ref h) = e.introduced_by { |
| 637 | table.insert(*h.as_bytes())?; |
| 638 | } |
| 639 | Ok(()) |
| 640 | } |
| 641 | |
| 642 | fn collect_edge_update_hashes( |
| 643 | em: &EdgeUpdate<Option<Hash>>, |