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

Method Algorithm

pkg/cmd/attestation/artifact/artifact.go:82–84  ·  view source on GitHub ↗

Algorithm returns the artifact's algorithm

()

Source from the content-addressed store, hash-verified

80
81// Algorithm returns the artifact's algorithm
82func (a *DigestedArtifact) Algorithm() string {
83 return a.digestAlg
84}
85
86// DigestWithAlg returns the digest:algorithm of the artifact
87func (a *DigestedArtifact) DigestWithAlg() string {

Callers 2

BuildDigestPolicyOptionFunction · 0.80

Calls

no outgoing calls

Tested by 1