(&self, node: GraphNode<NodeId>)
| 223 | } |
| 224 | |
| 225 | fn has_vertex(&self, node: GraphNode<NodeId>) -> PristineResult<bool> { |
| 226 | let table = self.txn.open_multimap_table(GRAPH)?; |
| 227 | let key = encode_vertex(node.change.get(), node.start.get(), node.end.get()); |
| 228 | let has = try_is_present(table.get(&key)?)?; |
| 229 | Ok(has) |
| 230 | } |
| 231 | |
| 232 | fn get_node_type(&self, node_id: NodeId) -> PristineResult<Option<u8>> { |
| 233 | let table = self.txn.open_table(NODE_TYPES)?; |
nothing calls this directly
no test coverage detected