1
mirror of https://github.com/rclone/rclone synced 2024-12-26 18:23:45 +01:00
rclone/cmd/lsf
Nick Craig-Wood bfd9f32188 lsjson: add --no-mimetype flag, speed up lsf
Before this changed we unconditionally fetched the MimeType. On Some
backends like s3 and swift this takes an extra transaction which meant
that `lsf` on those backends was needlessly slow.

This adds an internal option so `lsf` can declare whether it wants
MimeTypes or not depending on whether the user asked for them and an
external flag `--no-mimetype` for `lsjson`.

See: https://forum.rclone.org/t/reliably-setup-incremental-updates/14006/8
2020-01-26 16:38:00 +00:00
..
testfiles cmd: new command lsf 2018-01-06 14:39:31 +00:00
lsf_test.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
lsf.go lsjson: add --no-mimetype flag, speed up lsf 2020-01-26 16:38:00 +00:00