1
mirror of https://github.com/rclone/rclone synced 2024-12-23 14:23:44 +01:00
rclone/fs/operations
Nick Craig-Wood f37af9afec lsjson: Add --hash-type parameter and use it in lsf to speed up hashing
Before this change if you specified --hash MD5 in rclone lsf it would
calculate all the hashes and just return the MD5 hash which was very
slow on the local backend.

Likewise specifying --hash on rclone lsjson was equally slow.

This change introduces the --hash-type flag (and corresponding
internal parameter) so that the hashes required can be selected in
lsjson.

This is used internally in lsf when the --hash parameter is selected
to speed up the hashing by only hashing with the one hash specified.

Fixes #4181
2020-04-29 16:09:45 +01:00
..
dedupe_test.go dedupe: implement keep smallest too 2020-01-17 13:08:37 +00:00
dedupe.go dedupe: Stop dedupe deleting files with identical IDs #4013 2020-03-31 17:28:26 +01:00
listdirsorted_test.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
lsjson.go lsjson: Add --hash-type parameter and use it in lsf to speed up hashing 2020-04-29 16:09:45 +01:00
multithread_test.go operations: fix multithread copy test to use the correct modify window 2020-02-25 13:30:35 +00:00
multithread.go fs: add UploadHeaders, DownloadHeaders to Update/Put/Open options 2020-04-23 11:07:21 +01:00
operations_internal_test.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
operations_test.go accounting: check for max transfer in WriteTo 2020-04-23 11:13:13 +01:00
operations.go rcat: add support for --header-upload #59 2020-04-23 11:34:31 +01:00
rc_test.go rc: implement backend/command for running backend commands remotely 2020-04-29 10:10:57 +01:00
rc.go rc: implement backend/command for running backend commands remotely 2020-04-29 10:10:57 +01:00
reopen_test.go fs: add UploadHeaders, DownloadHeaders to Update/Put/Open options 2020-04-23 11:07:21 +01:00
reopen.go fs: add UploadHeaders, DownloadHeaders to Update/Put/Open options 2020-04-23 11:07:21 +01:00