| 245 | } |
| 246 | |
| 247 | static int compareFilenames (const String& name1, const String& name2) noexcept |
| 248 | { |
| 249 | #if NAMES_ARE_CASE_SENSITIVE |
| 250 | return name1.compare (name2); |
| 251 | #else |
| 252 | return name1.compareIgnoreCase (name2); |
| 253 | #endif |
| 254 | } |
| 255 | |
| 256 | bool File::operator== (const File& other) const { return compareFilenames (fullPath, other.fullPath) == 0; } |
| 257 | bool File::operator!= (const File& other) const { return compareFilenames (fullPath, other.fullPath) != 0; } |
no test coverage detected