Utils: Introduce FilePath::fileSize()

And implement it locally and for docker.

Change-Id: I362f4cae95560836d9300473a286429eb4569329
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2021-07-23 12:06:38 +02:00
parent dbc708fe61
commit 764bf7396c
10 changed files with 46 additions and 0 deletions

View File

@@ -99,6 +99,7 @@ public:
bool writeFileContents(const Utils::FilePath &filePath, const QByteArray &data) const override;
QDateTime lastModified(const Utils::FilePath &filePath) const override;
void runProcess(Utils::QtcProcess &process) const override;
qint64 fileSize(const Utils::FilePath &filePath) const override;
Utils::Environment systemEnvironment() const override;