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.