Utils::FileUtils Namespace
namespace Utils::FileUtilsA FileUtils névtér fájlokkal és könyvtárakkal kapcsolatos segédfüggvényeket tartalmaz. Tovább...
| Header: | #include <FileUtils> |
Funkciók
| Utils::Result<> | copyIfDifferent(const Utils::FilePath &srcFilePath, const Utils::FilePath &tgtFilePath) |
Funkciók dokumentációja
Utils::Result<> FileUtils::copyIfDifferent(const Utils::FilePath &srcFilePath, const Utils::FilePath &tgtFilePath)
A ` srcFilePath ` által megadott fájlt csak akkor másolja át a ` tgtFilePath ` helyre, ha a ` srcFilePath ` eltér (a fájl tartalma és az utolsó módosítás ideje tekintetében).
Visszaadja, hogy a művelet sikeres volt-e.
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.