From c7398dfdc581fbf36205fa826ad2aeadcd9b0122 Mon Sep 17 00:00:00 2001 From: Petr Mrázek Date: Tue, 7 Apr 2015 22:24:15 +0200 Subject: GH-228 do not recurse into reparse points when deleting instances --- depends/util/include/pathutils.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'depends/util/include/pathutils.h') 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); -- cgit