(&self, change_id: NodeId)
| 247 | } |
| 248 | |
| 249 | fn get_change_deps(&self, change_id: NodeId) -> PristineResult<Vec<Hash>> { |
| 250 | let table = self.txn.open_multimap_table(CHANGE_DEPS)?; |
| 251 | let mut result = Vec::new(); |
| 252 | let iter = table.get(change_id.get())?; |
| 253 | for item in iter { |
| 254 | let value = item?; |
| 255 | result.push(Hash::from_bytes(*value.value())); |
| 256 | } |
| 257 | Ok(result) |
| 258 | } |
| 259 | |
| 260 | fn change_deps_indexed_count(&self, change_id: NodeId) -> PristineResult<Option<u64>> { |
| 261 | let table = self.txn.open_table(CHANGE_DEPS_INDEXED)?; |