Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NextDue (0.14 sec)

  1. internal/bucket/lifecycle/transition.go

    }
    
    // IsNull returns true if both date and days fields are null
    func (t Transition) IsNull() bool {
    	return t.StorageClass == ""
    }
    
    // NextDue returns upcoming transition date for obj and true if applicable,
    // returns false otherwise.
    func (t Transition) NextDue(obj ObjectOpts) (time.Time, bool) {
    	if !obj.IsLatest || t.IsNull() {
    		return time.Time{}, false
    	}
    
    	if !t.IsDateNull() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 10 17:07:49 GMT 2022
    - 5.1K bytes
    - Viewed (0)
Back to top