Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ObjectV1 (0.1 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)
  3. cmd/object-api-deleteobject_test.go

    		{
    			"bucket1",
    			[]objectUpload{{"object0", "content"}, {"object1", "content"}},
    			"object0",
    			[]string{"object1"},
    		},
    		// Test 2: remove an object inside a directory and checks it is deleted
    		// with its parent since this former becomes empty
    		{
    			"bucket2",
    			[]objectUpload{{"object0", "content"}, {"dir/object1", "content"}},
    			"dir/object1",
    			[]string{"object0"},
    		},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top