| 6 | using namespace YACReader; |
| 7 | |
| 8 | void writeIdToLibraryFolder(const QString &path, const QUuid &id) |
| 9 | { |
| 10 | QFile file(LibraryPaths::idPath(path)); |
| 11 | if (file.open(QIODevice::WriteOnly | QIODevice::Text)) { |
| 12 | QTextStream stream(&file); |
| 13 | stream << id.toString(QUuid::WithoutBraces); |
| 14 | file.close(); |
| 15 | } |
| 16 | } |
| 17 | |
| 18 | QUuid readFromLibraryFolder(const QString &path) |
| 19 | { |
no test coverage detected