From 39b51beaf886f54396ba89666fa8c04217098dc2 Mon Sep 17 00:00:00 2001 From: Feng Date: Tue, 30 Mar 2021 11:48:20 +0800 Subject: [PATCH] =?UTF-8?q?QFX-5554=20fix:=20=E3=80=90=E5=86=92=E7=83=9F?= =?UTF-8?q?=E3=80=91=E6=B5=8B=E8=AF=95=E7=8E=AF=E5=A2=83=E5=A4=A7=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E9=87=8Fexcel=E4=B8=8A=E4=BC=A0=E5=90=8E=E7=82=B9?= =?UTF-8?q?=E5=87=BB=E4=BF=9D=E5=AD=98=E6=97=A0=E6=B3=95=E4=BF=9D=E5=AD=98?= =?UTF-8?q?=E6=88=90=E5=8A=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fanruan/fs/s3/repository/core/S3ResourceRepository.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/com/fanruan/fs/s3/repository/core/S3ResourceRepository.java b/src/main/java/com/fanruan/fs/s3/repository/core/S3ResourceRepository.java index f754762..7c23b43 100644 --- a/src/main/java/com/fanruan/fs/s3/repository/core/S3ResourceRepository.java +++ b/src/main/java/com/fanruan/fs/s3/repository/core/S3ResourceRepository.java @@ -308,6 +308,12 @@ public class S3ResourceRepository extends BaseResourceRepository { return false; } + @Override + protected boolean internalCopy(String origPath, String desPath) { + s3.copyObject(bucket, origPath, bucket, desPath); + return exist(desPath); + } + @Override public void shutDown() { s3.shutdown();