Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for NewObjectLockConfig (0.13 seconds)

  1. internal/bucket/object/lock/lock.go

    	if err := xml.NewDecoder(io.LimitReader(reader, maxObjectLockConfigSize)).Decode(&config); err != nil {
    		return nil, err
    	}
    
    	return &config, nil
    }
    
    // NewObjectLockConfig returns a initialized lock.Config struct
    func NewObjectLockConfig() *Config {
    	return &Config{
    		ObjectLockEnabled: Enabled,
    	}
    }
    
    // RetentionDate is a embedded type containing time.Time to unmarshal
    // Date in Retention
    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)
Back to Top