aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/pkg/tar.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/pkg/tar.go')
-rw-r--r--internal/pkg/tar.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/pkg/tar.go b/internal/pkg/tar.go
index d8ce3b67..9173a976 100644
--- a/internal/pkg/tar.go
+++ b/internal/pkg/tar.go
@@ -16,6 +16,8 @@ type tarArtifact struct {
f Artifact
}
+var _ CuresExempt = new(tarArtifact)
+
// tarArtifactNamed embeds tarArtifact for a [fmt.Stringer] tarball.
type tarArtifactNamed struct {
tarArtifact
@@ -211,3 +213,7 @@ func (a *tarArtifact) Cure(t *TContext) (err error) {
}
return
}
+
+// CuresExempt exempts the cheap [KindTar] implementation often at the end of a
+// [FileArtifact] pipeline.
+func (*tarArtifact) CuresExempt() {}