FileUtils Class

class Utils::FileUtils

The FileUtils class contains file and directory related convenience functions. More...

Header: #include <FileUtils>

Static Public Members

bool copyIfDifferent(const Utils::FilePath &srcFilePath, const Utils::FilePath &tgtFilePath)

Detailed Description

Member Function Documentation

[static] bool FileUtils::copyIfDifferent(const Utils::FilePath &srcFilePath, const Utils::FilePath &tgtFilePath)

Copies a file specified by srcFilePath to tgtFilePath only if srcFilePath is different (file contents and last modification time).

Returns whether the operation succeeded.

© 2023 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.