Deleting a file from a bucket
Closed this issue · 2 comments
yawboakye commented
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
EECOLOR commented
I could not find your pull request
yawboakye commented
You fixed it anyways. Cool 👍