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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user