comparison rust/hg-core/src/utils/files.rs @ 46128:c58c8f1d63b1

copies-rust: hide most of the comparison details inside a closure The function that compares values needs various supporting elements that are the same for each call. We are about to both make change to these element and change to call sites in our upcoming work. So abstracting most of the details will help to avoid conflict while these works happen in parallel. Differential Revision: https://phab.mercurial-scm.org/D9426
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sat, 21 Nov 2020 10:50:14 +0100
parents 1b3197047f5c
children 95d6f31e88db
comparison
equal deleted inserted replaced
46127:94300498491e 46128:c58c8f1d63b1