mirror of
https://github.com/apple/swift-foundation.git
synced 2025-05-28 09:47:07 +08:00
We need to use `FILE_FLAG_BACKUP_SEMANTICS` to ensure that we are able to diff directories as well. Previously we would mishandle this case and was caught by the test suite. Thanks to Jeremy Day for helping resolve this!