| 103 | } |
| 104 | |
| 105 | static VersionFilePtr createErrorVersionFile(QString fileId, QString filepath, QString error) |
| 106 | { |
| 107 | auto outError = std::make_shared<VersionFile>(); |
| 108 | outError->uid = outError->name = fileId; |
| 109 | // outError->filename = filepath; |
| 110 | outError->addProblem(ProblemSeverity::Error, error); |
| 111 | return outError; |
| 112 | } |
| 113 | |
| 114 | static VersionFilePtr guardedParseJson(const QJsonDocument & doc,const QString &fileId,const QString &filepath,const bool &requireOrder) |
| 115 | { |
no test coverage detected