1
mirror of https://github.com/rclone/rclone synced 2024-11-13 12:09:47 +01:00
rclone/dropbox
Nick Craig-Wood e53892f53b fs,drive,dropbox: Make and use new RepeatableReader variants to lower memory use
RepeatableReaderSized has a pre-allocated buffer which should help
with memory usage - before it grew the buffer.  Since we know the size
of the chunks, pre-allocating it should be much more efficient.

RepeatableReaderBuffer uses the buffer passed in.

RepeatableLimit* are convenience funcitions for wrapping a reader in
an io.LimitReader and then a RepeatableReader with the same buffer
size.
2017-11-23 13:53:46 +00:00
..
dbhash dropbox/dbhash: fix errcheck warning 2017-05-30 22:08:49 +01:00
dropbox_test.go fstests: only test uploadswith indeterminate size on remotes that support it 2017-08-22 07:19:43 +02:00
dropbox.go fs,drive,dropbox: Make and use new RepeatableReader variants to lower memory use 2017-11-23 13:53:46 +00:00