aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/pkg/tar.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-06-04 19:05:36 +0900
committerOphestra <cat@gensokyo.uk>2026-06-04 19:05:36 +0900
commit8fb6fdaa80e793928f80c45d058aa5aebf79e78b (patch)
treed8c2486605843e6ec5f1019b5aa3dd3b36ef0e97 /internal/pkg/tar.go
parentdb69dcf0be0c1be4e3187027fa4199538013e76d (diff)
internal/pkg: prefix reporting names
This reads better than suffixes. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/pkg/tar.go')
-rw-r--r--internal/pkg/tar.go4
1 files changed, 2 insertions, 2 deletions
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].