summaryrefslogtreecommitdiffstats
path: root/depends/util/include/pathutils.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-04-07 18:16:02 +0200
committerPetr Mrázek <peterix@gmail.com>2015-04-13 00:06:31 +0200
commit0220fe4f9d7f07fa137a11597b3465c76cfbcae3 (patch)
treee803758112d4dec1ed56929e517e88595616b3e7 /depends/util/include/pathutils.h
parent58840ac10cc7aac866d61cbcece3c3b9be1af8b4 (diff)
downloadMultiMC-0220fe4f9d7f07fa137a11597b3465c76cfbcae3.tar
MultiMC-0220fe4f9d7f07fa137a11597b3465c76cfbcae3.tar.gz
MultiMC-0220fe4f9d7f07fa137a11597b3465c76cfbcae3.tar.lz
MultiMC-0220fe4f9d7f07fa137a11597b3465c76cfbcae3.tar.xz
MultiMC-0220fe4f9d7f07fa137a11597b3465c76cfbcae3.zip
GH-228 do not follow symlinks during instance copy on unix
Windows will need a more complex solution.
Diffstat (limited to 'depends/util/include/pathutils.h')
-rw-r--r--depends/util/include/pathutils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/depends/util/include/pathutils.h b/depends/util/include/pathutils.h
index 2cc65db5..a506280e 100644
--- a/depends/util/include/pathutils.h
+++ b/depends/util/include/pathutils.h
@@ -51,7 +51,7 @@ LIBUTIL_EXPORT bool ensureFilePathExists(QString filenamepath);
*/
LIBUTIL_EXPORT bool ensureFolderPathExists(QString filenamepath);
-LIBUTIL_EXPORT bool copyPath(QString src, QString dst);
+LIBUTIL_EXPORT bool copyPath(QString src, QString dst, bool follow_symlinks = true);
/// Opens the given file in the default application.
LIBUTIL_EXPORT void openFileInDefaultProgram(QString filename);