MCPcopy Index your code
hub / github.com/cli/cli / Digest

Method Digest

pkg/cmd/attestation/artifact/artifact.go:77–79  ·  view source on GitHub ↗

Digest returns the artifact's digest

()

Source from the content-addressed store, hash-verified

75
76// Digest returns the artifact's digest
77func (a *DigestedArtifact) Digest() string {
78 return a.digest
79}
80
81// Algorithm returns the artifact's algorithm
82func (a *DigestedArtifact) Algorithm() string {

Callers 4

verifyAssetRunFunction · 0.95
BuildDigestPolicyOptionFunction · 0.80
GetAttestationsMethod · 0.80

Calls

no outgoing calls

Tested by 1