| 182 | namespace FS { |
| 183 | |
| 184 | void ensureExists(const QDir& dir) |
| 185 | { |
| 186 | if (!QDir().mkpath(dir.absolutePath())) { |
| 187 | throw FileSystemException("Unable to create folder " + dir.dirName() + " (" + dir.absolutePath() + ")"); |
| 188 | } |
| 189 | } |
| 190 | |
| 191 | void write(const QString& filename, const QByteArray& data) |
| 192 | { |
no test coverage detected