19 #ifndef LIB_QUENTIER_UTILITY_FILE_SYSTEM_H
20 #define LIB_QUENTIER_UTILITY_FILE_SYSTEM_H
22 #include <quentier/utility/Linkage.h>
28 QT_FORWARD_DECLARE_CLASS(ErrorString)
44 const QString QUENTIER_EXPORT relativePathFromAbsolutePath(
45 const QString & absolutePath,
const QString & relativePathRootFolderPath);
55 bool QUENTIER_EXPORT removeFile(
const QString & filePath);
66 bool QUENTIER_EXPORT removeDir(
const QString & dirPath);
79 QByteArray QUENTIER_EXPORT
80 readFileContents(
const QString & filePath, ErrorString & errorDescription);
96 bool QUENTIER_EXPORT renameFile(
97 const QString & from,
const QString & to, ErrorString & errorDescription);