1
0
mirror of https://github.com/minio/mc.git synced 2026-01-04 02:44:40 +03:00

Change ListOptions' fields to public (#3433)

This commit is contained in:
Cesar N
2020-10-01 09:50:56 -07:00
committed by GitHub
parent 4b34df590a
commit 7f2df96e48
29 changed files with 93 additions and 93 deletions

View File

@@ -230,7 +230,7 @@ func isURLPrefixExists(urlPrefix string, incomplete bool) bool {
if err != nil {
return false
}
for entry := range clnt.List(globalContext, ListOptions{isRecursive: false, isIncomplete: incomplete, isFetchMeta: false, showDir: DirNone}) {
for entry := range clnt.List(globalContext, ListOptions{IsRecursive: false, IsIncomplete: incomplete, IsFetchMeta: false, ShowDir: DirNone}) {
return entry.Err == nil
}
return false