add comment on exported error

master
Harshavardhana 4 years ago
parent 814ddc0923
commit 9cac385aec
  1. 1
      pkg/hash/errors.go

@ -38,6 +38,7 @@ func (e BadDigest) Error() string {
return "Bad digest: Expected " + e.ExpectedMD5 + " does not match calculated " + e.CalculatedMD5 return "Bad digest: Expected " + e.ExpectedMD5 + " does not match calculated " + e.CalculatedMD5
} }
// ErrSizeMismatch error size mismatch
type ErrSizeMismatch struct { type ErrSizeMismatch struct {
Want int64 Want int64
Got int64 Got int64

Loading…
Cancel
Save