mirror of
https://github.com/minio/minio.git
synced 2025-01-24 05:03:16 -05:00
e6d740ce09
This combines calling GetObjectInfo and GetObject while returning a io.ReadCloser for the object's body. This allows the two operations to be under a single lock, fixing a race between getting object info and reading the object body.