mirror of
https://github.com/pgsty/minio.git
synced 2026-08-08 23:33:30 +03:00
Avoid racy maps, read from disk on success return quickly. Many more optimizations
This commit is contained in:
@@ -39,7 +39,7 @@ type ObjectStorage interface {
|
||||
|
||||
// Object operations
|
||||
GetObject(bucket, object string) (io.ReadCloser, int64, error)
|
||||
GetObjectMetadata(bucket, object string) (ObjectMetadata, error)
|
||||
GetObjectMetadata(bucket, object string) (ObjectMetadata, map[string]string, error)
|
||||
PutObject(bucket, object, expectedMD5Sum string, reader io.ReadCloser, metadata map[string]string) (string, error)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user