| 91 | } |
| 92 | |
| 93 | static VersionFilePtr createErrorVersionFile(QString fileId, QString filepath, QString error) |
| 94 | { |
| 95 | auto outError = std::make_shared<VersionFile>(); |
| 96 | outError->uid = outError->name = fileId; |
| 97 | // outError->filename = filepath; |
| 98 | outError->addProblem(ProblemSeverity::Error, error); |
| 99 | return outError; |
| 100 | } |
| 101 | |
| 102 | static VersionFilePtr guardedParseJson(const QJsonDocument& doc, const QString& fileId, const QString& filepath, const bool& requireOrder) |
| 103 | { |
no test coverage detected