Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewPutObjReader (0.15 sec)

  1. cmd/erasure-object.go

    		defer gr.Close()
    		hashReader, err := hash.NewReader(ctx, gr, gr.ObjInfo.Size, "", "", gr.ObjInfo.Size)
    		if err != nil {
    			return setRestoreHeaderFn(oi, toObjectErr(err, bucket, object))
    		}
    		pReader := NewPutObjReader(hashReader)
    		_, err = er.PutObject(ctx, bucket, object, pReader, ropts)
    		return setRestoreHeaderFn(oi, toObjectErr(err, bucket, object))
    	}
    
    	res, err := er.NewMultipartUpload(ctx, bucket, object, ropts)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
Back to top