| 229 | } |
| 230 | |
| 231 | static QByteArray computeHashSum(const QString& filePath) |
| 232 | { |
| 233 | QFile file(filePath); |
| 234 | if (!file.open(QIODevice::ReadOnly)) { |
| 235 | return QByteArray(); |
| 236 | } |
| 237 | QCryptographicHash hash(QCryptographicHash::Algorithm::Sha1); |
| 238 | hash.addData(&file); |
| 239 | return hash.result(); |
| 240 | } |
| 241 | |
| 242 | void MesonManager::onMesonInfoChanged(QString path, QString projectName) |
| 243 | { |
no test coverage detected