This is an archive of the discontinued Mercurial Phabricator instance.

copies-rust: pass closures and iterators instead of `&ChangedFiles`
ClosedPublic

Authored by SimonSapin on Feb 25 2021, 5:42 AM.

Details

Summary

… to some functions that only use one method.
This will makes it easier to unit-test them.

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.