mirror of
https://github.com/rclone/rclone.git
synced 2025-08-17 00:51:34 +02:00
support exclude file in --fast-list mode
This commit is contained in:
committed by
Nick Craig-Wood
parent
557dd8f031
commit
538246f6c3
@ -22,8 +22,8 @@ func TestFilterAndSortIncludeAll(t *testing.T) {
|
||||
includeObject := func(o Object) bool {
|
||||
return o != oB
|
||||
}
|
||||
includeDirectory := func(remote string) bool {
|
||||
return remote != "c"
|
||||
includeDirectory := func(remote string) (bool, error) {
|
||||
return remote != "c", nil
|
||||
}
|
||||
// no filter
|
||||
newEntries, err := filterAndSortDir(entries, true, "", includeObject, includeDirectory)
|
||||
|
Reference in New Issue
Block a user