This allows the caller function to choose when and how the iteration and/or
collection happens. This change also cleans up the now unused filter_map.
Details
Details
- Reviewers
 kevincox - Group Reviewers
 hg-reviewers - Commits
 - rHG75fe6e71ddb8: rust-status: return a ParallelIterator instead of a Vec from stat_dmap_entries
 
Diff Detail
Diff Detail
- Repository
 - rHG Mercurial
 - Lint
 Automatic diff as part of commit; lint not applicable. - Unit
 Automatic diff as part of commit; unit tests not applicable. 
Event Timeline
| rust/hg-core/src/dirstate/status.rs | ||
|---|---|---|
| 126 | This can be replaced with: let meta = root_dir.as_ref().join(hg_path_to_path_buf(filename)?).symlink_metadata(); Although I would probably also put hg_path_to_path_buf(filename)? into a variable for readability.  | |
This can be replaced with:
Although I would probably also put hg_path_to_path_buf(filename)? into a variable for readability.