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

Struct MockStore

pkg/cmd/attestation/download/metadata_test.go:18–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16)
17
18type MockStore struct {
19 OnCreateMetadataFile func(artifactDigest string, attestationsResp []*api.Attestation) (string, error)
20}
21
22func (s *MockStore) createMetadataFile(artifact string, attestationsResp []*api.Attestation) (string, error) {
23 return s.OnCreateMetadataFile(artifact, attestationsResp)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected