RsyncDeployStep: Get rid of unused methods

Change-Id: If597b7cca7a5913c2c9bab663ddd4fcd098deb59
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
Jarek Kobus
2022-05-16 22:36:04 +02:00
parent edd9ddcd75
commit 29a62ff35c
2 changed files with 0 additions and 32 deletions

View File

@@ -33,8 +33,6 @@
#include <projectexplorer/devicesupport/idevice.h>
#include <projectexplorer/runconfigurationaspects.h>
#include <projectexplorer/target.h>
#include <ssh/sshconnection.h>
#include <ssh/sshsettings.h>
#include <utils/algorithm.h>
#include <utils/processinterface.h>
#include <utils/qtcprocess.h>
@@ -195,22 +193,6 @@ QString RsyncDeployStep::displayName()
return tr("Deploy files via rsync");
}
QString RsyncDeployStep::defaultFlags()
{
return QString("-av");
}
RsyncCommandLine RsyncDeployStep::rsyncCommand(const SshConnection &sshConnection,
const QString &flags)
{
const QString sshCmdLine = ProcessArgs::joinArgs(
QStringList{SshSettings::sshFilePath().toUserOutput()}
<< sshConnection.connectionOptions(SshSettings::sshFilePath()), OsTypeLinux);
const SshConnectionParameters sshParams = sshConnection.connectionParameters();
return RsyncCommandLine(QStringList{"-e", sshCmdLine, flags},
sshParams.userName() + '@' + sshParams.host());
}
} //namespace RemoteLinux
#include <rsyncdeploystep.moc>