- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for predCount (0.05 sec)
-
internal/bucket/lifecycle/and.go
// 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++ } if predCount < 2 { return errXMLNotWellFormed } if a.ContainsDuplicateTag() { return errDuplicateTagKey
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 2.9K bytes - Viewed (0) -
internal/bucket/lifecycle/filter.go
tagPred sizeLtPred sizeGtPred ) var predCount int var pType predType if !f.And.isEmpty() { pType = andPred predCount++ } if f.Prefix.set { pType = prefixPred predCount++ } if !f.Tag.IsEmpty() { pType = tagPred predCount++ } if f.ObjectSizeGreaterThan != 0 { pType = sizeGtPred predCount++ } if f.ObjectSizeLessThan != 0 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 04 17:01:26 UTC 2024 - 6.2K bytes - Viewed (0)