mirror of
https://github.com/rclone/rclone.git
synced 2026-03-18 07:28:02 -04: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.