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. |
||
---|---|---|
.. | ||
gateway-s3.go | ||
gateway-s3_test.go |