(ctx context.Context, artifactID string, blobIDs []string)
| 44 | } |
| 45 | |
| 46 | func (c *ErrorCache) MissingBlobs(ctx context.Context, artifactID string, blobIDs []string) (bool, []string, error) { |
| 47 | if c.opts.MissingBlobs { |
| 48 | return false, nil, errors.New("MissingBlobs failed") |
| 49 | } |
| 50 | return c.MemoryCache.MissingBlobs(ctx, artifactID, blobIDs) |
| 51 | } |
| 52 | |
| 53 | func (c *ErrorCache) PutArtifact(ctx context.Context, artifactID string, artifactInfo types.ArtifactInfo) error { |
| 54 | if c.opts.PutArtifact { |
nothing calls this directly
no test coverage detected