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)
| 379 | /// } |
| 380 | /// ``` |
| 381 | pub fn has_change(&self, hash: &Hash) -> bool { |
| 382 | self.change_store.has_change(hash) |
| 383 | } |
| 384 | |
| 385 | /// Return every normal change registered in the repository's common graph. |
| 386 | /// |
no outgoing calls
no test coverage detected