123456789101112131415 |
- #ifndef FILESYSTEM_H
- #define FILESYSTEM_H
- class FileSystem
- {
- // Static class, which gives some extra functions for files/folders manipulation
- private:
- FileSystem() = default;
- public:
- static bool fileExists(QString path);
- static QString fileHash(const QString &fileName, QCryptographicHash::Algorithm hashAlgorithm);
- static void clearFolder(QDir &dir);
- };
- #endif // FILESYSTEM_H
|