- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for ToRetention (0.04 seconds)
-
internal/bucket/object/lock/lock.go
return fmt.Errorf("only 'Enabled' value is allowed to ObjectLockEnabled element") } *config = Config(parsedConfig) return nil } // ToRetention - convert to Retention type. func (config *Config) ToRetention() Retention { r := Retention{ LockEnabled: config.ObjectLockEnabled == Enabled, } if config.Rule != nil { r.Mode = config.Rule.DefaultRetention.Mode
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 17.9K bytes - Click Count (0)