mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This separates the “do these two files have the same contents?” logic from the “move or delete” logic in `moveFileIfDifferent()`, creating a useful helper function. It also ties the special-case behavior for the `destination` parameter to a flag, since we have a use where we won’t want that.
3.3 KiB
3.3 KiB