Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: enhance file copy logic for same device checks
- Updated the check in checkAndCopyFile to ensure that big file copy logic only triggers if the source and target are on the same device. - Added a condition to verify device equality using FileUtils::isSameDevice before initiating the big file copy process. This change improves the file copy operation by preventing unnecessary delays and ensuring that the big file copy logic is only applied when copying files across different devices, enhancing overall performance and reliability. Log: enhance file copy logic for same device checks
- Loading branch information