Details
Description
Returned status of copyFile and copyDirectory are ignored. It's OK most of the time.
if (srcStatus.isDirectory()) { copyDirectory(srcPath, dstPath); } else { copyFile(srcPath, srcStatus.getLen(), dstPath); } return srcPath.equals(dstPath) || delete(srcPath, true);
However, oss fs can not catch errors when rename from one dir to another if the src dir is being deleted.
Another improvement is logging optimization. Changing log level to debug.