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

Function xmlDecoder

utils.go:87–90  ·  view source on GitHub ↗

xmlDecoder provide decoded value in xml.

(body io.Reader, v interface{})

Source from the content-addressed store, hash-verified

85
86// xmlDecoder provide decoded value in xml.
87func xmlDecoder(body io.Reader, v interface{}) error {
88 d := xml.NewDecoder(body)
89 return d.Decode(v)
90}
91
92// sum256 calculate sha256sum for an input byte array, returns hex encoded.
93func sum256Hex(data []byte) string {

Callers 15

startMethod · 0.70
GetObjectACLMethod · 0.70
removeObjectsIterMethod · 0.70
CopyObjectMethod · 0.70
ListBucketsMethod · 0.70
ListDirectoryBucketsMethod · 0.70
listObjectsV2QueryMethod · 0.70
listObjectsQueryMethod · 0.70

Calls

no outgoing calls

Tested by 1