kaliber-scala / play-s3

S3 module for Play
MIT License
119 stars 49 forks source link

Deleting a file from a bucket #6

Closed yawboakye closed 11 years ago

yawboakye commented 11 years ago

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 11 years ago

I could not find your pull request

yawboakye commented 11 years ago

You fixed it anyways. Cool :+1: