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)
| 167 | /// } |
| 168 | /// ``` |
| 169 | pub fn has_change(&self, hash: &Hash) -> bool { |
| 170 | self.change_store.has_change(hash) |
| 171 | } |
| 172 | |
| 173 | /// Backfill the pristine normal-change dependency index from stored changes. |
| 174 | /// |