Na této stránce

Utils::FileUtils Namespace

namespace Utils::FileUtils

Prostor jmen FileUtils obsahuje pomocné funkce související se soubory a adresáři. Více...

Header: #include <FileUtils>

Funkce

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

Podrobný popis

Dokumentace funkcí

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

Zkopíruje soubor zadaný v parametru ` srcFilePath ` do ` tgtFilePath ` pouze v případě, že se ` srcFilePath ` liší (obsah souboru a čas poslední změny).

Vrátí, zda operace proběhla úspěšně.

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.