mirror of
https://github.com/rclone/rclone.git
synced 2025-01-24 12:56:36 +02:00
91cfbd4146
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.