aboutsummaryrefslogtreecommitdiff
path: root/launcher/FileSystem.cpp
diff options
context:
space:
mode:
authorflow <flowlnlnln@gmail.com>2022-11-11 12:48:53 -0800
committerGitHub <noreply@github.com>2022-11-11 12:48:53 -0800
commit64576f4c4c6c41ba4528a00a38242955079f52ec (patch)
treeab49b1ce0f8dfa8a8a6557aedd905e1d2e1ac708 /launcher/FileSystem.cpp
parent21dbd28a2f2397f0053f4f40563c16cb03b0fdfe (diff)
parent2f10fa8b61dac5af5866e7ad8e72cf702f15a130 (diff)
downloadPrismLauncher-64576f4c4c6c41ba4528a00a38242955079f52ec.tar.gz
PrismLauncher-64576f4c4c6c41ba4528a00a38242955079f52ec.tar.bz2
PrismLauncher-64576f4c4c6c41ba4528a00a38242955079f52ec.zip
Merge pull request #304 from Ryex/move-downloads
Fixes https://github.com/PrismLauncher/PrismLauncher/issues/222
Diffstat (limited to 'launcher/FileSystem.cpp')
-rw-r--r--launcher/FileSystem.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/launcher/FileSystem.cpp b/launcher/FileSystem.cpp
index 1cbb538c..4a8f4bd3 100644
--- a/launcher/FileSystem.cpp
+++ b/launcher/FileSystem.cpp
@@ -149,6 +149,9 @@ bool ensureFolderPathExists(QString foldernamepath)
return success;
}
+/// @brief Copies a directory and it's contents from src to dest
+/// @param offset subdirectory form src to copy to dest
+/// @return if there was an error during the filecopy
bool copy::operator()(const QString& offset)
{
using copy_opts = fs::copy_options;