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