1
0
mirror of https://github.com/rclone/rclone.git synced 2025-01-24 12:56:36 +02:00
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
..
2020-04-29 09:42:31 +01:00
2019-11-18 14:13:02 +00:00
2018-08-21 10:58:59 +01:00
2019-06-19 11:59:46 +01:00
2019-02-07 16:42:26 +00:00
2019-06-19 11:59:46 +01:00
2019-04-30 14:12:18 +02:00
2020-02-01 12:32:21 +00:00