Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for html (0.15 sec)

  1. internal/bucket/lifecycle/and.go

    func (a And) Validate() error {
    	// > This is used in a Lifecycle Rule Filter to apply a logical AND to two or more predicates.
    	// ref: https://docs.aws.amazon.com/AmazonS3/latest/API/API_LifecycleRuleAndOperator.html
    	// i.e, predCount >= 2
    	var predCount int
    	if a.Prefix.set {
    		predCount++
    	}
    	predCount += len(a.Tags)
    	if a.ObjectSizeGreaterThan > 0 {
    		predCount++
    	}
    	if a.ObjectSizeLessThan > 0 {
    		predCount++
    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)
Back to top