(
txn: &T,
node: GraphNode<Option<Hash>>,
change_id: NodeId,
)
| 1073 | } |
| 1074 | |
| 1075 | fn import_graph_first_node<T: GraphTxnT>( |
| 1076 | txn: &T, |
| 1077 | node: GraphNode<Option<Hash>>, |
| 1078 | change_id: NodeId, |
| 1079 | ) -> Result<GraphNode<NodeId>, RepositoryError> { |
| 1080 | let pos = Position::new(node.change, node.start); |
| 1081 | let resolved = import_graph_first_position(txn, &pos, change_id)?; |
| 1082 | Ok(GraphNode { |
| 1083 | change: resolved.change, |
| 1084 | start: node.start, |
| 1085 | end: node.end, |
| 1086 | }) |
| 1087 | } |
| 1088 | |
| 1089 | fn import_graph_first_resolved_inode<T: GraphTxnT + TreeTxnT>( |
| 1090 | txn: &T, |
no test coverage detected