Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewRangeReader (0.22 sec)

  1. cmd/warm-backend-gcs.go

    	// to download the object in compressed state.
    	// Calling ReadCompressed with true accomplishes that.
    	object := gcs.client.Bucket(gcs.Bucket).Object(gcs.getDest(key)).ReadCompressed(true)
    
    	r, err = object.NewRangeReader(ctx, opts.startOffset, opts.length)
    	if err != nil {
    		return nil, gcsToObjectError(err, gcs.Bucket, key)
    	}
    	return r, nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top