mirror of
https://github.com/minio/minio.git
synced 2026-11-25 15:22:50 +00:00
Implement multipart support
- implemented NewMultipartUpload() - implemented CreateObjectPart() - implemented ListObjectParts() - implemented AbortMultipartUpload() - implemented CompleteMultipartUpload()
This commit is contained in:
1 parent
00a976adf1
commit
d86ba5f336
6 files changed
+454
-13
No files matched your search
@@ -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)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user