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

Method Set

api-list.go:747–752  ·  view source on GitHub ↗

Set adds a key value pair to the options. The key-value pair will be part of the HTTP GET request headers.

(key, value string)

Source from the content-addressed store, hash-verified

745// key-value pair will be part of the HTTP GET request
746// headers.
747func (o *ListObjectsOptions) Set(key, value string) {
748 if o.headers == nil {
749 o.headers = make(http.Header)
750 }
751 o.headers.Set(key, value)
752}
753
754// ListObjects returns objects list after evaluating the passed options.
755//

Callers 7

testGetObjectS3ZipFunction · 0.95
ListDirectoryBucketsMethod · 0.45
listObjectsV2QueryMethod · 0.45
listObjectsQueryMethod · 0.45
listObjectPartsQueryMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected