diff options
Diffstat (limited to 'internal/pkg/compress.go')
| -rw-r--r-- | internal/pkg/compress.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/pkg/compress.go b/internal/pkg/compress.go index 6d69143b..838cd98a 100644 --- a/internal/pkg/compress.go +++ b/internal/pkg/compress.go @@ -25,6 +25,7 @@ type decompressArtifact struct { } var _ FileArtifact = new(decompressArtifact) +var _ CuresExempt = new(decompressArtifact) // decompressArtifactNamed embeds decompressArtifact for a [fmt.Stringer] stream. type decompressArtifactNamed struct { @@ -117,3 +118,7 @@ func (a *decompressArtifact) Cure(r *RContext) (io.ReadCloser, error) { return nil, os.ErrInvalid } } + +// CuresExempt exempts the cheap [KindDecompress] implementation often part of +// a [FileArtifact] pipeline. +func (*decompressArtifact) CuresExempt() {} |
