aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--internal/pkg/compress.go4
-rw-r--r--internal/pkg/tar.go4
2 files changed, 4 insertions, 4 deletions
diff --git a/internal/pkg/compress.go b/internal/pkg/compress.go
index a683c816..6d69143b 100644
--- a/internal/pkg/compress.go
+++ b/internal/pkg/compress.go
@@ -46,8 +46,8 @@ func NewDecompress(a Artifact, compress uint32) FileArtifact {
return &da
}
-// String returns the name of the underlying [Artifact] suffixed with decompress.
-func (a *decompressArtifactNamed) String() string { return a.name + "-decompress" }
+// String returns the name of the underlying [Artifact] prefixed with decompress.
+func (a *decompressArtifactNamed) String() string { return "decompress-" + a.name }
// Kind returns the hardcoded [Kind] constant.
func (a *decompressArtifact) Kind() Kind { return KindDecompress }
diff --git a/internal/pkg/tar.go b/internal/pkg/tar.go
index 0b40e103..d8ce3b67 100644
--- a/internal/pkg/tar.go
+++ b/internal/pkg/tar.go
@@ -25,8 +25,8 @@ type tarArtifactNamed struct {
var _ fmt.Stringer = new(tarArtifactNamed)
-// String returns the name of the underlying [Artifact] suffixed with unpack.
-func (a *tarArtifactNamed) String() string { return a.name + "-unpack" }
+// String returns the name of the underlying [Artifact] prefixed with unpack.
+func (a *tarArtifactNamed) String() string { return "unpack-" + a.name }
// NewTar returns a new [Artifact] unpacking the tar stream produced by the
// backing [Artifact]. The source [Artifact] must be a [FileArtifact].