From e2125673a2ad70caebd5c894f885c20398a5bdf8 Mon Sep 17 00:00:00 2001 From: Noah Pederson Date: Sat, 28 Oct 2023 13:07:24 -0500 Subject: [PATCH] Remove unnecessary interface args --- src/std/net/s3/interface.ss | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/std/net/s3/interface.ss b/src/std/net/s3/interface.ss index de8c59802..41eed201d 100644 --- a/src/std/net/s3/interface.ss +++ b/src/std/net/s3/interface.ss @@ -6,8 +6,7 @@ (interface S3 (get-bucket (name :~ string?)) - (create-bucket! (name :~ string?) - (opts :~ (maybe alist?) := #f)) + (create-bucket! (name :~ string?)) (delete-bucket! (name :~ string?)) (bucket-exists? (name :~ string?)) (list-buckets)) @@ -15,8 +14,7 @@ (interface S3Bucket (get (name :~ string?)) (put! (name :~ string?) - (data :~ u8vector?) - content-type: (content-type := "octet-stream" :~ string?)) + (data :~ u8vector?)) (delete! (name :~ string?)) ; src should follow `bucket/file/path` format. Destination should just be `file/path`. ; Copies *from* src to *dest* in this ObjectMap.