mirror of
https://github.com/rclone/rclone.git
synced 2025-03-31 06:05:15 +08: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.