minio/pkg/hash
Harshavardhana 1d8a8c63db Simplify data verification with HashReader. (#5071)
Verify() was being called by caller after the data
has been successfully read after io.EOF. This disconnection
opens a race under concurrent access to such an object.
Verification is not necessary outside of Read() call,
we can simply just do checksum verification right inside
Read() call at io.EOF.

This approach simplifies the usage.
2017-10-22 11:00:34 +05:30
..
errors.go Simplify data verification with HashReader. (#5071) 2017-10-22 11:00:34 +05:30
reader.go Simplify data verification with HashReader. (#5071) 2017-10-22 11:00:34 +05:30
reader_test.go Simplify data verification with HashReader. (#5071) 2017-10-22 11:00:34 +05:30