Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 1,826 for versionid (0.06 seconds)

  1. cmd/erasure-sets.go

    	cpSrcDstSame := srcSet == dstSet
    	// Check if this request is only metadata update.
    	if cpSrcDstSame && srcInfo.metadataOnly {
    		// Version ID is set for the destination and source == destination version ID.
    		// perform an in-place update.
    		if dstOpts.VersionID != "" && srcOpts.VersionID == dstOpts.VersionID {
    			srcInfo.Reader.Close() // We are not interested in the reader stream at this point close it.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 37K bytes
    - Click Count (1)
  2. docs/debugging/s3-check-md5/main.go

    		opts := minio.ListObjectsOptions{
    			Recursive:    true,
    			Prefix:       prefix,
    			WithVersions: versions,
    			WithMetadata: true,
    		}
    
    		objFullPath := func(obj minio.ObjectInfo) (fpath string) {
    			fpath = path.Join(bucket, obj.Key)
    			if versions {
    				fpath += ":" + obj.VersionID
    			}
    			return fpath
    		}
    
    		// List all objects from a bucket-name with a matching prefix.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  3. cmd/utils.go

    func ErrorRespToObjectError(err error, params ...string) error {
    	if err == nil {
    		return nil
    	}
    
    	bucket := ""
    	object := ""
    	versionID := ""
    	if len(params) >= 1 {
    		bucket = params[0]
    	}
    	if len(params) >= 2 {
    		object = params[1]
    	}
    	if len(params) >= 3 {
    		versionID = params[2]
    	}
    
    	if xnet.IsNetworkOrHostDown(err, false) {
    		return BackendDown{Err: err.Error()}
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 33K bytes
    - Click Count (0)
  4. cmd/xl-storage-format_test.go

    	// Start comparing the fields of xlMetaV1Object obtained from jsoniter parsing with one parsed using json unmarshalling.
    	if unMarshalXLMeta.Version != jsoniterXLMeta.Version {
    		t.Errorf("Expected the Version to be \"%s\", but got \"%s\".", unMarshalXLMeta.Version, jsoniterXLMeta.Version)
    	}
    	if unMarshalXLMeta.Format != jsoniterXLMeta.Format {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  5. cmd/storage-datatypes.go

    		return -1
    	}
    	if v == nullVersionID {
    		for i, ver := range f.Versions {
    			if ver.VersionID == "" {
    				return i
    			}
    		}
    		return -1
    	}
    
    	for i, ver := range f.Versions {
    		if ver.VersionID == v {
    			return i
    		}
    	}
    	return -1
    }
    
    // RawFileInfo - represents raw file stat information as byte array.
    // The above means that any added/deleted fields are incompatible.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 17.4K bytes
    - Click Count (0)
  6. cmd/admin-heal-ops.go

    		return objAPI.HealObjects(h.ctx, minioMetaBucket, metaPrefix, h.settings, func(bucket, object, versionID string, scanMode madmin.HealScanMode) error {
    			if h.isQuitting() {
    				return errHealStopSignalled
    			}
    
    			err := h.queueHealTask(healSource{
    				bucket:    bucket,
    				object:    object,
    				versionID: versionID,
    			}, madmin.HealItemBucketMetadata)
    			return err
    		})
    	}
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  7. cmd/batch-expire.go

    				// couldn't be deleted.
    				od := ObjectToDelete{
    					ObjectV: ObjectV{
    						ObjectName: exp.Name,
    						VersionID:  exp.VersionID,
    					},
    				}
    				toDel = append(toDel, od)
    				oiCache.Add(od, &exp.ObjectInfo)
    			}
    
    			// DeleteObject(deletePrefix: true) to expire all versions of an object
    			for _, exp := range toExpireAll {
    				var success bool
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Apr 22 11:16:32 GMT 2025
    - 23K bytes
    - Click Count (0)
  8. cmd/bucket-policy.go

    		}
    		if username == globalActiveCred.AccessKey {
    			principalType = "Account"
    		}
    	}
    
    	vid := r.Form.Get(xhttp.VersionID)
    	if vid == "" {
    		if u, err := url.Parse(r.Header.Get(xhttp.AmzCopySource)); err == nil {
    			vid = u.Query().Get(xhttp.VersionID)
    		}
    	}
    
    	authType := getRequestAuthType(r)
    	var signatureVersion string
    	switch authType {
    	case authTypeSignedV2, authTypePresignedV2:
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  9. cmd/api-response.go

    			}
    		}
    		content.Owner = owner
    		content.VersionID = object.VersionID
    		if content.VersionID == "" {
    			content.VersionID = nullVersionID
    		}
    		content.IsLatest = object.IsLatest
    		content.isDeleteMarker = object.DeleteMarker
    		versions = append(versions, content)
    	}
    
    	data.Name = bucket
    	data.Versions = versions
    	data.EncodingType = encodingType
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 24 04:05:19 GMT 2025
    - 35K bytes
    - Click Count (0)
  10. cmd/erasure-healing_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	if fileInfoPostHeal.NumVersions != 2 {
    		t.Fatalf("Expected versions 2, got %d", fileInfoPreHeal.NumVersions)
    	}
    
    	if objInfo.DeleteMarker {
    		if _, err = objLayer.DeleteObject(ctx, bucket, object, ObjectOptions{
    			Versioned: true,
    			VersionID: objInfo.VersionID,
    		}); err != nil {
    			t.Fatal(err)
    		}
    	}
    
    	setDisks(nil, nil, nil, nil)
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 48.5K bytes
    - Click Count (0)
Back to Top