| 210 | } |
| 211 | |
| 212 | bool SourceData::isBinaryEqualWith(const QSharedPointer<SourceData>& other) const |
| 213 | { |
| 214 | return m_fileAccess.exists() && other->m_fileAccess.exists() && |
| 215 | getSizeBytes() == other->getSizeBytes() && |
| 216 | (getSizeBytes() == 0 || memcmp(getBuf(), other->getBuf(), getSizeBytes()) == 0); |
| 217 | } |
| 218 | |
| 219 | /* |
| 220 | Warning: Do not call this function without re-running the comparison or |
no test coverage detected