- Sort Score
- Result 10 results
- Languages All
Results 11 - 11 of 11 for Back (0.16 sec)
-
internal/bucket/lifecycle/lifecycle_test.go
now := time.Now().UTC() obj1 := ObjectOpts{ Name: "obj1", IsLatest: true, ModTime: now, } obj2 := ObjectOpts{ Name: "obj2", ModTime: now, } // Go back seven days in the past now = now.Add(7 * 24 * time.Hour) evt := lc.eval(obj1, now) if evt.Action != TransitionAction { t.Fatalf("Expected action: %s but got %s", TransitionAction, evt.Action) }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 01:11:10 GMT 2024 - 53.2K bytes - Viewed (0)