Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for IsLatest (0.21 sec)

  1. internal/bucket/lifecycle/noncurrentversion.go

    	return nil
    }
    
    // NextDue returns upcoming NoncurrentVersionTransition date for obj if
    // applicable, returns false otherwise.
    func (n NoncurrentVersionTransition) NextDue(obj ObjectOpts) (time.Time, bool) {
    	if obj.IsLatest || n.StorageClass == "" {
    		return time.Time{}, false
    	}
    	// Days == 0 indicates immediate tiering, i.e object is eligible for tiering since it became noncurrent.
    	if n.NoncurrentDays == 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Dec 14 17:41:44 GMT 2021
    - 5.3K bytes
    - Viewed (1)
Back to top