Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ObjectV1 (0.07 sec)

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

    				err = dc.ReadNil()
    				if err != nil {
    					err = msgp.WrapError(err, "ObjectV1")
    					return
    				}
    				z.ObjectV1 = nil
    			} else {
    				if z.ObjectV1 == nil {
    					z.ObjectV1 = new(xlMetaV1Object)
    				}
    				err = z.ObjectV1.DecodeMsg(dc)
    				if err != nil {
    					err = msgp.WrapError(err, "ObjectV1")
    					return
    				}
    			}
    			zb0001Mask |= 0x1
    		case "V2Obj":
    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

    		case LegacyType:
    			return j.ObjectV1.DataDir
    		case ObjectType:
    			return uuid.UUID(j.ObjectV2.DataDir).String()
    		}
    	}
    	return ""
    }
    
    // Valid xl meta xlMetaV2Version is valid
    func (j xlMetaV2Version) Valid() bool {
    	if !j.Type.valid() {
    		return false
    	}
    	switch j.Type {
    	case LegacyType:
    		return j.ObjectV1 != nil &&
    			j.ObjectV1.valid()
    	case ObjectType:
    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