ensure FS::copyFile is marked for removal

Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
Rachel Powers 2022-10-30 22:49:54 -07:00
parent fda2c116be
commit a7a331a26e
2 changed files with 2 additions and 1 deletions

View File

@ -75,6 +75,7 @@ bool ensureFilePathExists(QString filenamepath);
*/
bool ensureFolderPathExists(QString filenamepath);
// TODO: remove in favor of FS::copy once #333 is merged
bool copyFile(QString const& src, QString const& dst);
/// @brief Copies a directory and it's contents from src to dest

View File

@ -373,7 +373,7 @@ void PackInstallTask::copyBlockedMods() {
qDebug() << "Will try to copy" << mod->localPath << "to" << dest_path;
if (!FS::copyFile(mod->localPath, dest_path)) {
if (!FS::copyFile(mod->localPath, dest_path)) { // FIXME: use FS::copy once #333 is merged
qDebug() << "Copy of" << mod->localPath << "to" << dest_path << "Failed";
}