(&self, change_id: NodeId)
| 294 | } |
| 295 | |
| 296 | fn has_change_in_graph(&self, change_id: NodeId) -> PristineResult<bool> { |
| 297 | let table = self.txn.open_multimap_table(GRAPH)?; |
| 298 | let start_key = encode_vertex(change_id.get(), 0, 0); |
| 299 | let end_key = encode_vertex(change_id.get(), u64::MAX, u64::MAX); |
| 300 | let has = table |
| 301 | .range::<&[u8; 24]>(&start_key..=&end_key)? |
| 302 | .next() |
| 303 | .is_some(); |
| 304 | Ok(has) |
| 305 | } |
| 306 | } |
| 307 | |
| 308 | // ViewTxnT Implementation |
nothing calls this directly
no test coverage detected