(&self, change_id: NodeId)
| 314 | } |
| 315 | |
| 316 | fn has_change_in_graph(&self, change_id: NodeId) -> PristineResult<bool> { |
| 317 | let table = self.txn.open_multimap_table(GRAPH)?; |
| 318 | let start_key = encode_vertex(change_id.get(), 0, 0); |
| 319 | let end_key = encode_vertex(change_id.get(), u64::MAX, u64::MAX); |
| 320 | let has = table |
| 321 | .range::<&[u8; 24]>(&start_key..=&end_key)? |
| 322 | .next() |
| 323 | .is_some(); |
| 324 | Ok(has) |
| 325 | } |
| 326 | } |
| 327 | |
| 328 | // ViewTxnT Implementation |
nothing calls this directly
no test coverage detected