Skip to content

Commit

Permalink
Add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
klauspost committed Dec 3, 2024
1 parent 1d3ef2e commit 6e4de97
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api-s3-datatypes.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 == "" {
Expand Down

0 comments on commit 6e4de97

Please sign in to comment.