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)
| 972 | /// } |
| 973 | /// ``` |
| 974 | pub fn iter_changes(&self) -> impl Iterator<Item = Result<Hash, RepositoryError>> + '_ { |
| 975 | self.change_store |
| 976 | .iter_changes() |
| 977 | .map(|r| r.map_err(|e| RepositoryError::Database(e.to_string()))) |
| 978 | } |
| 979 | |
| 980 | /// Find a change by hash prefix. |
| 981 | /// |
no outgoing calls