Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for checkNewMultipartArgs (0.23 sec)

  1. cmd/object-api-input-checks.go

    			return MalformedUploadID{
    				UploadID: uploadIDMarker,
    			}
    		}
    	}
    	return nil
    }
    
    // Checks for NewMultipartUpload arguments validity, also validates if bucket exists.
    func checkNewMultipartArgs(ctx context.Context, bucket, object string) error {
    	return checkObjectArgs(ctx, bucket, object)
    }
    
    func checkMultipartObjectArgs(ctx context.Context, bucket, object, uploadID string) error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool.go

    func (z *erasureServerPools) NewMultipartUpload(ctx context.Context, bucket, object string, opts ObjectOptions) (mp *NewMultipartUploadResult, err error) {
    	if err := checkNewMultipartArgs(ctx, bucket, object); err != nil {
    		return nil, err
    	}
    
    	defer func() {
    		if err == nil && mp != nil {
    			z.mpCache.Store(mp.UploadID, MultipartInfo{
    				Bucket:    bucket,
    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