mirror of
https://github.com/rclone/rclone.git
synced 2025-03-17 20:27:52 +02:00
This was done by making a seekWrapper which wraps an io.Reader with a basic Seek for code.google.com/p/google-api-go-client/googleapi to detect the length. Without this the getReaderSize function reads the entire file into memory to find its length.