このページでは

Utils::FileUtils Namespace

namespace Utils::FileUtils

FileUtils ネームスペースには、ファイルやディレクトリに関連する便利な関数が含まれています。詳細...

Header: #include <FileUtils>

関数

Utils::Result<> copyIfDifferent(const Utils::FilePath &srcFilePath, const Utils::FilePath &tgtFilePath)

詳細な説明

関数のドキュメント

Utils::Result<> FileUtils::copyIfDifferent(const Utils::FilePath &srcFilePath, const Utils::FilePath &tgtFilePath)

srcFilePath で指定されたファイルをtgtFilePath にコピーするのは、srcFilePath が異なる場合(ファイルの内容および最終更新日時)に限ります。

操作が成功したかどうかを返します。

Copyright © The Qt Company Ltd. and other contributors. 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.