diff options
Diffstat (limited to 'depends/util/include/pathutils.h')
-rw-r--r-- | depends/util/include/pathutils.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/depends/util/include/pathutils.h b/depends/util/include/pathutils.h index a506280e..f31b96d1 100644 --- a/depends/util/include/pathutils.h +++ b/depends/util/include/pathutils.h @@ -51,8 +51,16 @@ LIBUTIL_EXPORT bool ensureFilePathExists(QString filenamepath); */ LIBUTIL_EXPORT bool ensureFolderPathExists(QString filenamepath); +/** + * Copy a folder recursively + */ LIBUTIL_EXPORT bool copyPath(QString src, QString dst, bool follow_symlinks = true); +/** + * Delete a folder recursively + */ +LIBUTIL_EXPORT bool deletePath(QString path); + /// Opens the given file in the default application. LIBUTIL_EXPORT void openFileInDefaultProgram(QString filename); |