Implements the Git.Command behaviour for git verify-tag.
Verifies the GPG signature of a tag object.
Summary
Types
Functions
Returns the argument list for git verify-tag.
Examples
iex> Git.Commands.VerifyTag.args(%Git.Commands.VerifyTag{tag: "v1.0"})
["verify-tag", "v1.0"]
iex> Git.Commands.VerifyTag.args(%Git.Commands.VerifyTag{tag: "v1.0", verbose: true})
["verify-tag", "-v", "v1.0"]
iex> Git.Commands.VerifyTag.args(%Git.Commands.VerifyTag{tag: "v1.0", raw: true})
["verify-tag", "--raw", "v1.0"]
iex> Git.Commands.VerifyTag.args(%Git.Commands.VerifyTag{tag: "v1.0", format: "%(objectname)"})
["verify-tag", "--format=%(objectname)", "v1.0"]
@spec parse_output(String.t(), non_neg_integer()) :: {:ok, map()} | {:error, {String.t(), non_neg_integer()}}
Parses the output of git verify-tag.
Exit code 0 means the tag has a valid GPG signature. Exit code 1 means the signature is bad or missing. Other exit codes are treated as errors.