mirror of https://github.com/perkeep/perkeep.git
b6eb85631c
testSubFetcher in blobserver/storagetest was already checking that we'd get specific error messages in the case of negative input parameters or an out of range offset. This change rationalizes these constraints with named errors (ErrNegativeSubFetch and ErrOutOfRangeOffsetSubFetch) specified in the SubFetcher interface. It also fixes the googlestorage and s3 implementations so that they pass the aforementioned test. Change-Id: I25b72b842855b90ee3cab44c90654581dccf4b8e |
||
---|---|---|
.. | ||
auth.go | ||
auth_test.go | ||
client.go | ||
client_test.go |