GH-228 do not recurse into reparse points when deleting instances

This commit is contained in:
Petr Mrázek
2015-04-07 22:24:15 +02:00
parent 0220fe4f9d
commit c7398dfdc5
4 changed files with 69 additions and 2 deletions

View File

@ -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);