( )⚙ D10070 copies-rust: pass closures and iterators instead of `&ChangedFiles`

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
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage