이 페이지에서

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.