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)
| 988 | /// } |
| 989 | /// ``` |
| 990 | pub fn iter_changes(&self) -> impl Iterator<Item = Result<Hash, RepositoryError>> + '_ { |
| 991 | self.change_store |
| 992 | .iter_changes() |
| 993 | .map(|r| r.map_err(|e| RepositoryError::Database(e.to_string()))) |
| 994 | } |
| 995 | |
| 996 | /// Find a change by hash prefix. |
| 997 | /// |
no outgoing calls