| 28 | namespace FS { |
| 29 | |
| 30 | void ensureExists(const QDir &dir) |
| 31 | { |
| 32 | if (!QDir().mkpath(dir.absolutePath())) |
| 33 | { |
| 34 | throw FileSystemException("Unable to create folder " + dir.dirName() + " (" + |
| 35 | dir.absolutePath() + ")"); |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | void write(const QString &filename, const QByteArray &data) |
| 40 | { |
no test coverage detected