Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for VersionType (0.06 sec)

  1. cmd/xl-storage-format-v2_gen.go

    	return
    }
    
    // DecodeMsg implements msgp.Decodable
    func (z *VersionType) DecodeMsg(dc *msgp.Reader) (err error) {
    	{
    		var zb0001 uint8
    		zb0001, err = dc.ReadUint8()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		(*z) = VersionType(zb0001)
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z VersionType) EncodeMsg(en *msgp.Writer) (err error) {
    	err = en.WriteUint8(uint8(z))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v2.go

    //         │   └── part.1
    //         └── xl.meta
    
    // VersionType defines the type of journal type of the current entry.
    type VersionType uint8
    
    // List of different types of journal type
    const (
    	invalidVersionType VersionType = 0
    	ObjectType         VersionType = 1
    	DeleteType         VersionType = 2
    	LegacyType         VersionType = 3
    	lastVersionType    VersionType = 4
    )
    
    func (e VersionType) valid() bool {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
Back to top