MCPcopy Create free account
hub / github.com/cli/cli / GetByDigest

Method GetByDigest

pkg/cmd/attestation/api/mock_client.go:30–32  ·  view source on GitHub ↗
(params FetchParams)

Source from the content-addressed store, hash-verified

28}
29
30func (m MockClient) GetByDigest(params FetchParams) ([]*Attestation, error) {
31 return m.OnGetByDigest(params)
32}
33
34func (m MockClient) GetTrustDomain() (string, error) {
35 return m.OnGetTrustDomain()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected