diff options
| author | Petr Mrázek <peterix@gmail.com> | 2015-04-07 22:24:15 +0200 |
|---|---|---|
| committer | Petr Mrázek <peterix@gmail.com> | 2015-04-13 00:06:31 +0200 |
| commit | c7398dfdc581fbf36205fa826ad2aeadcd9b0122 (patch) | |
| tree | 4aa331c389c2aa4c0148354d600b556b5073ffca /depends/util/include | |
| parent | 0220fe4f9d7f07fa137a11597b3465c76cfbcae3 (diff) | |
| download | PrismLauncher-c7398dfdc581fbf36205fa826ad2aeadcd9b0122.tar.gz PrismLauncher-c7398dfdc581fbf36205fa826ad2aeadcd9b0122.tar.bz2 PrismLauncher-c7398dfdc581fbf36205fa826ad2aeadcd9b0122.zip | |
GH-228 do not recurse into reparse points when deleting instances
Diffstat (limited to 'depends/util/include')
| -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); |
