Check if a change knows about another change. A change "knows" another if it's either a direct dependency or in the extra_known list. # Arguments `change_hash` - The change to check `other_hash` - The change to check for knowledge of # Returns `true` if `change_hash` knows about `other_hash`.
(&self, change_hash: &Hash, other_hash: &Hash)
| 235 | /// |
| 236 | /// `true` if `change_hash` knows about `other_hash`. |
| 237 | fn knows(&self, change_hash: &Hash, other_hash: &Hash) -> Result<bool, Self::Error> { |
| 238 | let change = self.get_change(change_hash)?; |
| 239 | Ok(change.knows(other_hash)) |
| 240 | } |
| 241 | } |
| 242 | |
| 243 | // MEMORY CHANGE STORE |
nothing calls this directly
no test coverage detected