forked from qt-creator/qt-creator
GoCommandBridge: Don't copy files byte-by-byte
Makes this part of bridge deployment significantly faster (factor ten or more). Change-Id: I45c42a33964a782cc5d9bfb041f3a68c5b8c5e53 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
@@ -124,7 +124,7 @@ Result FileAccess::deployAndInit(const FilePath &libExecPath, const FilePath &re
|
||||
}
|
||||
|
||||
qCDebug(faLog) << deco() << "Using temporary file:" << *tmpFile;
|
||||
const auto dd = run({remoteRootPath.withNewPath("dd"), {"of=" + *tmpFile, "bs=1"}},
|
||||
const auto dd = run({remoteRootPath.withNewPath("dd"), {"of=" + *tmpFile}},
|
||||
*cmdBridgeFileData);
|
||||
|
||||
qCDebug(faLog) << deco() << "dd run";
|
||||
|
Reference in New Issue
Block a user