(&self, change_id: NodeId)
| 275 | } |
| 276 | |
| 277 | fn has_change_in_graph(&self, change_id: NodeId) -> PristineResult<bool> { |
| 278 | let table = self.txn.open_multimap_table(GRAPH)?; |
| 279 | let start_key = encode_vertex(change_id.get(), 0, 0); |
| 280 | let end_key = encode_vertex(change_id.get(), u64::MAX, u64::MAX); |
| 281 | let has = try_is_present(table.range::<&[u8; 24]>(&start_key..=&end_key)?)?; |
| 282 | Ok(has) |
| 283 | } |
| 284 | } |
| 285 | |
| 286 | #[cfg(test)] |
nothing calls this directly
no test coverage detected