| 169 | namespace FS { |
| 170 | |
| 171 | void ensureExists(const QDir& dir) |
| 172 | { |
| 173 | if (!QDir().mkpath(dir.absolutePath())) { |
| 174 | throw FileSystemException("Unable to create folder " + dir.dirName() + " (" + dir.absolutePath() + ")"); |
| 175 | } |
| 176 | } |
| 177 | |
| 178 | void write(const QString& filename, const QByteArray& data) |
| 179 | { |
no test coverage detected