Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for path2BucketObject (0.15 sec)

  1. cmd/object-multipart-handlers.go

    	if u, err := url.Parse(cpSrcPath); err == nil {
    		vid = strings.TrimSpace(u.Query().Get(xhttp.VersionID))
    		// Note that url.Parse does the unescaping
    		cpSrcPath = u.Path
    	}
    
    	srcBucket, srcObject := path2BucketObject(cpSrcPath)
    	// If source object is empty or bucket is empty, reply back invalid copy source.
    	if srcObject == "" || srcBucket == "" {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidCopySource), r.URL)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 31 18:25:48 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool-decom.go

    		// Decommission not in progress.
    		return nil
    	}
    
    	decomBuckets := make([]decomBucketInfo, len(p.Pools[idx].Decommission.QueuedBuckets))
    	for i := range decomBuckets {
    		bucket, prefix := path2BucketObject(p.Pools[idx].Decommission.QueuedBuckets[i])
    		decomBuckets[i] = decomBucketInfo{
    			Name:   bucket,
    			Prefix: prefix,
    		}
    	}
    
    	return decomBuckets
    }
    
    //msgp:ignore decomBucketInfo
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  3. cmd/data-scanner.go

    			bucket:    "",
    			strict:    false,
    		}
    
    		healObjectsPrefix := color.Green("healObjects:")
    		for k := range abandonedChildren {
    			if !f.shouldHeal() {
    				break
    			}
    			bucket, prefix := path2BucketObject(k)
    			stopFn := globalScannerMetrics.time(scannerMetricCheckMissing)
    			f.updateCurrentPath(k)
    
    			if bucket != resolver.bucket {
    				// Bucket might be missing as well with abandoned children.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  4. cmd/object-handlers.go

    	if u, err := url.Parse(cpSrcPath); err == nil {
    		vid = strings.TrimSpace(u.Query().Get(xhttp.VersionID))
    		// Note that url.Parse does the unescaping
    		cpSrcPath = u.Path
    	}
    
    	srcBucket, srcObject := path2BucketObject(cpSrcPath)
    	// If source object is empty or bucket is empty, reply back invalid copy source.
    	if srcObject == "" || srcBucket == "" {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidCopySource), r.URL)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
Back to top