Skip to content

Commit

Permalink
Add comment to explain what the bool value will contain
Browse files Browse the repository at this point in the history
  • Loading branch information
pierrehilbert committed Sep 19, 2023
1 parent fe85b0d commit 996c786
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func (e *InvalidSignatureError) Unwrap() error { return e.Err }
// Verifier is an interface verifying the SHA512 checksum and GPG signature and
// of a downloaded artifact.
type Verifier interface {
// Verify should verify the artifact and return an error if any checks fail.
// Verify should verify the artifact and return if succeed status (true|false) and an error if any checks fail.
// If the checksum does no match Verify returns a
// *download.ChecksumMismatchError. And if the GPG signature is invalid then
// Verify returns a *download.InvalidSignatureError. Use errors.As() to
Expand Down

0 comments on commit 996c786

Please sign in to comment.