mirror of
https://github.com/rclone/rclone.git
synced 2026-02-06 03:33:54 +00: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.