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

Method createMetadataFile

pkg/cmd/attestation/download/metadata_test.go:22–24  ·  view source on GitHub ↗
(artifact string, attestationsResp []*api.Attestation)

Source from the content-addressed store, hash-verified

20}
21
22func (s *MockStore) createMetadataFile(artifact string, attestationsResp []*api.Attestation) (string, error) {
23 return s.OnCreateMetadataFile(artifact, attestationsResp)
24}
25
26func OnCreateMetadataFileFailure(artifactDigest string, attestationsResp []*api.Attestation) (string, error) {
27 return "", fmt.Errorf("failed to create trusted metadata file")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected