Skip to content

Commit a53bc24

Browse files
committed
feat(s3): add conditional headers (If-Match, If-None-Match) for copy/delete
Signed-off-by: Shashank Singh <shashanksgh3@gmail.com>
1 parent 6093331 commit a53bc24

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

core/services/s3/src/core.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,12 @@ impl S3Core {
630630
self.send(req).await
631631
}
632632

633-
pub async fn s3_copy_object(&self, from: &str, to: &str, args: OpCopy) -> Result<Response<Buffer>> {
633+
pub async fn s3_copy_object(
634+
&self,
635+
from: &str,
636+
to: &str,
637+
args: OpCopy,
638+
) -> Result<Response<Buffer>> {
634639
let from = build_abs_path(&self.root, from);
635640
let to = build_abs_path(&self.root, to);
636641

0 commit comments

Comments
 (0)