Iterate over all change hashes stored in the repository. This scans the changes directory and yields the hash of each change file found. The iteration order is not guaranteed. # Performance This method reads the filesystem and should be used sparingly on repositories with many changes. # Example ```rust,ignore for result in repo.iter_changes() { match result { Ok(hash) => println!("Found chan
(&self)
| 1278 | /// } |
| 1279 | /// ``` |
| 1280 | pub fn iter_changes(&self) -> impl Iterator<Item = Result<Hash, RepositoryError>> + '_ { |
| 1281 | self.change_store |
| 1282 | .iter_changes() |
| 1283 | .map(|r| r.map_err(|e| RepositoryError::Database(e.to_string()))) |
| 1284 | } |
| 1285 | |
| 1286 | /// Find a change by hash prefix. |
| 1287 | /// |
no outgoing calls