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