Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Document (0.53 sec)

  1. internal/bucket/lifecycle/lifecycle.go

    }
    
    // HasTransition returns 'true' if lifecycle document has Transition enabled.
    func (lc Lifecycle) HasTransition() bool {
    	for _, rule := range lc.Rules {
    		if rule.Transition.IsEnabled() {
    			return true
    		}
    	}
    	return false
    }
    
    // HasExpiry returns 'true' if lifecycle document has Expiry enabled.
    func (lc Lifecycle) HasExpiry() bool {
    	for _, rule := range lc.Rules {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 17.5K bytes
    - Viewed (0)
Back to top