Check if a change exists in the repository. This checks both the cache and the filesystem. Note that this doesn't verify the integrity of the change file. # Arguments `hash` - The hash of the change to check # Example ```rust,ignore if repo.has_change(&hash) { let change = repo.load_change(&hash)?; // ... } ```
(&self, hash: &Hash)
| 426 | /// } |
| 427 | /// ``` |
| 428 | pub fn has_change(&self, hash: &Hash) -> bool { |
| 429 | self.change_store.has_change(hash) |
| 430 | } |
| 431 | |
| 432 | /// Return every normal change registered in the repository's common graph. |
| 433 | /// |
no outgoing calls
no test coverage detected