mirror of
https://github.com/minio/minio.git
synced 2024-12-27 15:45:55 -05:00
583e4ecff6
In the common case, GetObject is called on a bucket that exists and an object that exists and is not a directory. It should be optimized for this case, thus error-related syscalls are pushed back until they are necessary. This should not impact performance negatively in the uncommon case, and instead drops two otherwise unnecessary os.Stat's in the common case. The race conditions around a proper error being returned were present beforehand. It also renames 'err' to 'e'. |
||
---|---|---|
.. | ||
api_suite_test.go | ||
dir.go | ||
fs_test.go | ||
fs-backend-metadata.go | ||
fs-bucket_test.go | ||
fs-bucket-listobjects.go | ||
fs-bucket.go | ||
fs-datatypes.go | ||
fs-errors.go | ||
fs-multipart.go | ||
fs-object_test.go | ||
fs-object.go | ||
fs-utils_test.go | ||
fs-utils.go | ||
fs.go |