Files
swift-mirror/lib/Basic/FileSystem.cpp
Brent Royal-Gordon a5955fc682 [NFC] Extract helper from moveFileIfDifferent()
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.
2019-08-22 19:37:53 -07:00

9.2 KiB