forked from qt-creator/qt-creator
RemoteLinux: Improve handling of symbolic links when deploying.
We used to follow the links, resulting in unnecessary traffic. Now we just recreate the links. Note: This requires the user to not have dependencies that resolve to something outside the set of files to deploy. Change-Id: I3f439739115b4d07b36a71fe2041d8725a25abfd Reviewed-on: http://codereview.qt.nokia.com/1582 Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
This commit is contained in:
@@ -64,6 +64,9 @@ public:
|
||||
quint32 requestId);
|
||||
SftpOutgoingPacket &generateWriteFile(const QByteArray &handle,
|
||||
quint64 offset, const QByteArray &data, quint32 requestId);
|
||||
|
||||
// Note: OpenSSH's SFTP server has a bug that reverses the filePath and target
|
||||
// arguments, so this operation is not portable.
|
||||
SftpOutgoingPacket &generateCreateLink(const QString &filePath, const QString &target,
|
||||
quint32 requestId);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user