diff --git a/api-s3-datatypes.go b/api-s3-datatypes.go index 0bba0d42d..9dcaed7c3 100644 --- a/api-s3-datatypes.go +++ b/api-s3-datatypes.go @@ -302,6 +302,7 @@ func (c ObjectPart) Checksum(t ChecksumType) string { return "" } +// ChecksumRaw returns the decoded checksum from the part. func (c ObjectPart) ChecksumRaw(t ChecksumType) ([]byte, error) { b64 := c.Checksum(t) if b64 == "" {