rclone/fs/walk
Nick Craig-Wood da404dc0f2 sync,copy: Fix --fast-list --create-empty-src-dirs and --exclude
Before this change, if --fast-list was in use while doing a sync or
copy with --create-empty-src-dirs and --exclude excluded all the files
from the directory (but not the directory), then the directory would
not be created.

This is also visible with `rclone tree` which uses the same tree
building approach as `rclone sync --fast-list` where the directories
would go missing from the tree view.

This was caused by not adding the parents of excluded files to the
directory tree.

See: https://forum.rclone.org/t/create-empty-src-dirs-issue-with-b2/30856
2022-05-23 10:10:55 +01:00
..
walk.go sync,copy: Fix --fast-list --create-empty-src-dirs and --exclude 2022-05-23 10:10:55 +01:00
walk_test.go sync,copy: Fix --fast-list --create-empty-src-dirs and --exclude 2022-05-23 10:10:55 +01:00