forked from qt-creator/qt-creator
Utils: Add FilePath::copyRecursively
Change-Id: I0cb07158906a5e163ea35670f46f3b4fd9ec40b8 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
@@ -1398,6 +1398,11 @@ bool FilePath::removeRecursively(QString *error) const
|
||||
return fileAccess()->removeRecursively(*this, error);
|
||||
}
|
||||
|
||||
expected_str<void> FilePath::copyRecursively(const FilePath &target) const
|
||||
{
|
||||
return fileAccess()->copyRecursively(*this, target);
|
||||
}
|
||||
|
||||
expected_str<void> FilePath::copyFile(const FilePath &target) const
|
||||
{
|
||||
if (host() != target.host()) {
|
||||
|
||||
Reference in New Issue
Block a user