MCPcopy
hub / github.com/minio/minio-go / GetObject

Method GetObject

core.go:149–151  ·  view source on GitHub ↗

GetObject is a lower level API implemented to support reading partial objects and also downloading objects with special conditions matching etag, modtime etc.

(ctx context.Context, bucketName, objectName string, opts GetObjectOptions)

Source from the content-addressed store, hash-verified

147// partial objects and also downloading objects with special conditions
148// matching etag, modtime etc.
149func (c Core) GetObject(ctx context.Context, bucketName, objectName string, opts GetObjectOptions) (io.ReadCloser, ObjectInfo, http.Header, error) {
150 return c.getObject(ctx, bucketName, objectName, opts)
151}

Calls 1

getObjectMethod · 0.80