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

Function isObject

api-put-object-common.go:32–35  ·  view source on GitHub ↗

Verify if reader is *minio.Object

(reader io.Reader)

Source from the content-addressed store, hash-verified

30
31// Verify if reader is *minio.Object
32func isObject(reader io.Reader) (ok bool) {
33 _, ok = reader.(*Object)
34 return ok
35}
36
37// Verify if reader is a generic ReaderAt
38func isReadAt(reader io.Reader) (ok bool) {

Callers 2

putObjectMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected