Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for PathJoin (0.32 sec)

  1. cmd/bucket-replication.go

    		rc, err := localDrive.ReadFileStream(p.ctx, minioMetaBucket, pathJoin(replicationMRFDir, globalLocalNodeNameHex+".bin"), 0, -1)
    		if err != nil {
    			continue
    		}
    
    		mrfRec, err = loadMRF(rc)
    		if err != nil {
    			continue
    		}
    
    		// finally delete the file after processing mrf entries
    		localDrive.Delete(p.ctx, minioMetaBucket, pathJoin(replicationMRFDir, globalLocalNodeNameHex+".bin"), DeleteOptions{})
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  2. cmd/object-handlers.go

    	}
    
    	dstOpts, err = copyDstOpts(ctx, r, dstBucket, dstObject, nil)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    	cpSrcDstSame := isStringEqual(pathJoin(srcBucket, srcObject), pathJoin(dstBucket, dstObject))
    
    	getObjectNInfo := objectAPI.GetObjectNInfo
    
    	checkCopyPrecondFn := func(o ObjectInfo) bool {
    		if _, err := DecryptObjectInfo(&o, r); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  3. cmd/object-handlers_test.go

    			t.Fatalf("Test %d: %s: Failed parsing response body: <ERROR> %v", i+1, instanceType, err)
    		}
    
    		if path.Clean(actualError.Resource) != pathJoin(SlashSeparator, testCase.bucketName, testCase.objectName) {
    			t.Fatalf("Test %d: %s: Unexpected resource, expected %s, got %s", i+1, instanceType, pathJoin(SlashSeparator, testCase.bucketName, testCase.objectName), actualError.Resource)
    		}
    
    		// Verify response of the V2 signed HTTP request.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  4. cmd/admin-handlers.go

    					}
    					if _, err := w.Write(errorRespJSON); err != nil {
    						return
    					}
    					w.(http.Flusher).Flush()
    				}
    				break forLoop
    			}
    		}
    	}
    
    	healPath := pathJoin(hip.bucket, hip.objPrefix)
    	if hip.clientToken == "" && !hip.forceStart && !hip.forceStop {
    		nh, exists := globalAllHealState.getHealSequence(healPath)
    		if exists && !nh.hasEnded() && len(nh.currentStatus.Items) > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  5. cmd/site-replication.go

    func (c *SiteReplicationSys) purgeDeletedBucket(ctx context.Context, objAPI ObjectLayer, bucket string) {
    	z, ok := objAPI.(*erasureServerPools)
    	if !ok {
    		return
    	}
    	z.s3Peer.DeleteBucket(context.Background(), pathJoin(minioMetaBucket, bucketMetaPrefix, deletedBucketsPrefix, bucket), DeleteBucketOptions{})
    }
    
    // healBucket creates/deletes the bucket according to latest state across clusters participating in site replication.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
Back to top