mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
add codespell action (#18818)
Original work here, #18474, refixed and updated.
This commit is contained in:
@@ -89,7 +89,7 @@ func (a And) ContainsDuplicateTag() bool {
|
||||
}
|
||||
|
||||
// BySize returns true when sz satisfies a
|
||||
// ObjectSizeLessThan/ObjectSizeGreaterthan or a logial AND of these predicates
|
||||
// ObjectSizeLessThan/ObjectSizeGreaterthan or a logical AND of these predicates
|
||||
// Note: And combines size and other predicates like Tags, Prefix, etc. This
|
||||
// method applies exclusively to size predicates only.
|
||||
func (a And) BySize(sz int64) bool {
|
||||
|
||||
@@ -249,7 +249,7 @@ func (f Filter) TestTags(userTags string) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
// BySize returns true if sz satisifies one of ObjectSizeGreaterThan,
|
||||
// BySize returns true if sz satisfies one of ObjectSizeGreaterThan,
|
||||
// ObjectSizeLessThan predicates or a combination of them via And.
|
||||
func (f Filter) BySize(sz int64) bool {
|
||||
if f.ObjectSizeGreaterThan > 0 &&
|
||||
|
||||
Reference in New Issue
Block a user