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)
| 568 | /// } |
| 569 | /// ``` |
| 570 | pub fn iter_changes(&self) -> impl Iterator<Item = Result<Hash, RepositoryError>> + '_ { |
| 571 | self.change_store |
| 572 | .iter_changes() |
| 573 | .map(|r| r.map_err(|e| RepositoryError::Database(e.to_string()))) |
| 574 | } |
| 575 | |
| 576 | /// Find a change by hash prefix. |
| 577 | /// |
no outgoing calls