-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The pattern is evaluated against the entire bucket. This doesn't mattern for suffix searches, but for a prefix search, you'd have to include the bucket name. This is inconsistent with filtering local files. Now they're both consistent. Given: --exclude 'foo*' This will filter any full path that startsw with foo. So locally: rootdir/ foo.txt # yes foo1.txt # yes foo/bar.txt # yes bar.txt # no And on s3, we now have the same results: bucket/ foo.txt # yes foo1.txt # yes foo/bar.txt # yes bar.txt # no I also added debug logs to help customers troubleshoot why their filters aren't working the way they expect.
- Loading branch information
Showing
2 changed files
with
60 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters