(&self, node: GraphNode<NodeId>)
| 410 | } |
| 411 | |
| 412 | fn has_vertex(&self, node: GraphNode<NodeId>) -> PristineResult<bool> { |
| 413 | let table = self.txn.open_multimap_table(GRAPH)?; |
| 414 | let key = encode_vertex(node.change.get(), node.start.get(), node.end.get()); |
| 415 | let has = graph_presence(table.get(&key)?)?; |
| 416 | Ok(has) |
| 417 | } |
| 418 | |
| 419 | fn get_node_type(&self, node_id: NodeId) -> PristineResult<Option<u8>> { |
| 420 | let table = self.txn.open_table(NODE_TYPES)?; |
nothing calls this directly
no test coverage detected