kaliber-scala/play-s3

Deleting a file from a bucket

Closed this issue · 2 comments

The documentation (README.md) on removing a file from a bucket:

val result = bucket - BucketFile(fileName, mimeType, byteArray, acl, headers)
or
val result = bucket remove BucketFile(fileName, mimeType, byteArray, acl, headers)

https://github.com/Rhinofly/play-s3/blob/master/app/fly/play/s3/Bucket.scala#L89 parameter should be item name (of type String) not BucketFile.

I submitted a pull request with the changes

I could not find your pull request

You fixed it anyways. Cool 👍