objstore
objstore copied to clipboard
Add support for WriterTo in TimingReader
This commit adds support for the WriterTo interface in the TimingReader so that it can be used efficiently in io.Copy.
- [ ] I added CHANGELOG entry for this change.
- [ ] Change is not relevant to the end user.
Changes
Verification
If r implements Seeker then we wont ever return a writerTo, right? Is that problematic?
We merge this for now and we can add all combinations later. I don't see problems when querying a Google Storage bucket.