| 78 | } |
| 79 | |
| 80 | bool FileSystemBase::AreFilePathsEqual(const StringView& path1, const StringView& path2) |
| 81 | { |
| 82 | if (path1.Compare(path2, StringSearchCase::CaseSensitive) == 0) |
| 83 | return true; |
| 84 | |
| 85 | // Normalize file paths |
| 86 | String filename1(path1); |
| 87 | String filename2(path2); |
| 88 | NormalizePath(filename1); |
| 89 | NormalizePath(filename2); |
| 90 | |
| 91 | return filename1.Compare(filename2, StringSearchCase::IgnoreCase) == 0; |
| 92 | } |
| 93 | |
| 94 | void FileSystemBase::NormalizePath(String& path) |
| 95 | { |
nothing calls this directly
no test coverage detected