Implement multipart support

- implemented NewMultipartUpload()
 - implemented CreateObjectPart()
 - implemented ListObjectParts()
 - implemented AbortMultipartUpload()
 - implemented CompleteMultipartUpload()
This commit is contained in:
Harshavardhana committed 2015-06-01 16:25:11 -07:00
1 parent 00a976adf1
commit d86ba5f336
6 files changed
+454 -13

No files matched your search

+1 -1
View File
@@ -266,7 +266,7 @@ func (fs *fsDriver) CreateObject(bucket, key, contentType, expectedMD5Sum string
h := md5.New()
mw := io.MultiWriter(file, h)
_, err = io.Copy(mw, data)
_, err = io.CopyN(mw, data, size)
if err != nil {
return "", iodine.New(err, nil)
}