Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isStringEqual (0.06 sec)

  1. cmd/erasure-server-pool.go

    	if err := checkCopyObjArgs(ctx, dstBucket, dstObject); err != nil {
    		return ObjectInfo{}, err
    	}
    
    	srcObject = encodeDirObject(srcObject)
    	dstObject = encodeDirObject(dstObject)
    
    	cpSrcDstSame := isStringEqual(pathJoin(srcBucket, srcObject), pathJoin(dstBucket, dstObject))
    
    	if !dstOpts.NoLock {
    		ns := z.NewNSLock(dstBucket, dstObject)
    		lkctx, err := ns.GetLock(ctx, globalOperationTimeout)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
Back to top