| 99 | namespace FS { |
| 100 | |
| 101 | void ensureExists(const QDir& dir) |
| 102 | { |
| 103 | if (!QDir().mkpath(dir.absolutePath())) { |
| 104 | throw FileSystemException("Unable to create folder " + dir.dirName() + " (" + dir.absolutePath() + ")"); |
| 105 | } |
| 106 | } |
| 107 | |
| 108 | void write(const QString& filename, const QByteArray& data) |
| 109 | { |
no test coverage detected