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
..
2019-10-14 17:02:09 +01:00
2020-04-29 10:10:57 +01:00
2019-10-30 14:12:42 +00:00
2020-04-29 10:10:57 +01:00
2020-04-29 10:10:57 +01:00
2020-02-10 15:29:39 +00:00
2019-10-14 17:02:09 +01:00
2019-10-14 17:02:09 +01:00
2020-04-21 16:31:43 +01:00
2020-02-10 15:29:39 +00:00
2020-04-15 17:08:44 +01:00
2019-10-14 17:02:09 +01:00
2020-04-19 12:40:17 +01:00
2020-04-22 11:33:48 +01:00
2020-04-22 11:33:48 +01:00
2020-04-29 10:12:12 +01:00
2020-01-19 11:09:45 +00:00
2020-04-29 12:15:30 +01:00
2019-10-14 17:02:09 +01:00
2019-07-28 18:47:38 +01:00
2020-02-10 15:29:39 +00:00
2020-01-20 17:29:58 +00:00
2019-10-14 17:02:09 +01:00
2019-10-14 17:02:09 +01:00
2019-10-14 17:02:09 +01:00
2019-10-14 17:02:09 +01:00
2019-10-14 17:02:09 +01:00
2020-04-29 16:09:45 +01:00
2020-04-29 16:09:45 +01:00
2019-10-14 17:02:09 +01:00
2019-10-14 17:02:09 +01:00
2019-10-14 17:02:09 +01:00
2019-10-14 17:02:09 +01:00
2020-04-21 16:31:43 +01:00
2020-04-21 16:31:43 +01:00
2020-04-20 10:42:33 +01:00
2019-10-14 17:02:09 +01:00
2019-10-14 17:02:09 +01:00
2019-10-14 17:02:09 +01:00
2019-10-14 17:02:09 +01:00
2019-10-14 17:02:09 +01:00
2020-04-29 09:42:31 +01:00
2019-10-14 17:02:09 +01:00
2020-01-20 12:27:55 +00:00
2019-10-14 17:02:09 +01:00
2019-10-14 17:02:09 +01:00
2019-07-28 18:47:38 +01:00
2020-04-19 15:40:55 +01:00
2019-10-14 17:02:09 +01:00
2019-10-14 17:02:09 +01:00
2019-10-14 17:02:09 +01:00
2019-10-14 17:02:09 +01:00
2020-03-23 17:12:56 +00:00
2019-10-14 17:02:09 +01:00
2019-10-14 17:02:09 +01:00
2020-04-15 17:06:40 +01:00
2020-01-09 13:25:37 +00:00
2019-10-08 19:59:47 +01:00
2019-07-28 20:38:20 +01:00
2018-06-02 17:35:13 +01:00