- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for ObjectSizeLessThan (0.19 sec)
-
internal/bucket/lifecycle/filter.go
if err := e.EncodeElement(f.Prefix, xml.StartElement{Name: xml.Name{Local: "Prefix"}}); err != nil { return err } if f.ObjectSizeLessThan > 0 { if err := e.EncodeElement(f.ObjectSizeLessThan, xml.StartElement{Name: xml.Name{Local: "ObjectSizeLessThan"}}); err != nil { return err } } if f.ObjectSizeGreaterThan > 0 {
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Tue Feb 27 00:01:20 GMT 2024 - 6.2K bytes - Viewed (0) -
internal/bucket/lifecycle/and.go
ObjectSizeLessThan int64 `xml:"ObjectSizeLessThan,omitempty"` Prefix Prefix `xml:"Prefix,omitempty"` Tags []Tag `xml:"Tag,omitempty"` } // isEmpty returns true if Tags field is null func (a And) isEmpty() bool { return len(a.Tags) == 0 && !a.Prefix.set && a.ObjectSizeGreaterThan == 0 && a.ObjectSizeLessThan == 0 }
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 2.9K bytes - Viewed (0) -
internal/bucket/lifecycle/filter_test.go
} f2 = Filter{} err = xml.Unmarshal(b, &f2) if err != nil { t.Fatalf("Failed to unmarshal %s", string(b)) } if f1.And.ObjectSizeLessThan != f2.And.ObjectSizeLessThan { t.Fatalf("Expected %v but got %v", f1.And.ObjectSizeLessThan, f2.And.ObjectSizeLessThan) } if f1.And.ObjectSizeGreaterThan != f2.And.ObjectSizeGreaterThan {
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Tue Feb 27 00:01:20 GMT 2024 - 7.2K bytes - Viewed (0) -
internal/bucket/lifecycle/rule_test.go
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Wed Nov 22 21:42:39 GMT 2023 - 4.1K bytes - Viewed (0) -
internal/bucket/lifecycle/lifecycle_test.go
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Sat Mar 09 06:41:22 GMT 2024 - 45.6K bytes - Viewed (0)