- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for check (0.12 sec)
-
internal/bucket/object/lock/lock.go
} return ntp.Time(ntpServer) } // Retention - bucket level retention configuration. type Retention struct { Mode RetMode Validity time.Duration LockEnabled bool } // Retain - check whether given date is retainable by validity time. func (r Retention) Retain(created time.Time) bool { t, err := UTCNowNTP() if err != nil { lockLogIf(context.Background(), err) // Retain return true }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 17.1K bytes - Viewed (0)