1
mirror of https://github.com/rclone/rclone synced 2024-10-18 04:15:01 +02:00
rclone/fs/walk
Nick Craig-Wood 6c38bddf3e walk: fix listing with filters listing whole remote
Prior to this fix, a request such as

    rclone lsf -R --include "/dir/**" remote:

Would use ListR which is very inefficient as it lists the whole remote
for one directory.

This changes it to use recursive walking if the filters imply any
directory filtering.  So `--include *.jpg` and `--exclude *.jpg` will
still use ListR wheras `--include "/dir/**` will not.
2019-08-08 14:15:50 +01:00
..
walk_test.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
walk.go walk: fix listing with filters listing whole remote 2019-08-08 14:15:50 +01:00