Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for nulla (0.18 sec)

  1. 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
    }
    
    // Validate - validates the And field
    func (a And) Validate() error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 2.9K bytes
    - Viewed (0)
Back to top