Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for SortFunc (0.28 sec)

  1. internal/bucket/lifecycle/lifecycle.go

    						RuleID:       rule.ID,
    						Due:          due,
    						StorageClass: rule.Transition.StorageClass,
    					})
    				}
    			}
    		}
    	}
    
    	if len(events) > 0 {
    		slices.SortFunc(events, func(a, b Event) int {
    			// Prefer Expiration over Transition for both current
    			// and noncurrent versions when,
    			// - now is past the expected time to action
    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