| 68 | } |
| 69 | |
| 70 | static VersionFilePtr createErrorVersionFile(QString fileId, QString filepath, QString error) |
| 71 | { |
| 72 | auto outError = std::make_shared<VersionFile>(); |
| 73 | outError->uid = outError->name = fileId; |
| 74 | // outError->filename = filepath; |
| 75 | outError->addProblem(ProblemSeverity::Error, error); |
| 76 | return outError; |
| 77 | } |
| 78 | |
| 79 | static VersionFilePtr guardedParseJson(const QJsonDocument & doc,const QString &fileId,const QString &filepath,const bool &requireOrder) |
| 80 | { |
no test coverage detected