From 8fb6fdaa80e793928f80c45d058aa5aebf79e78b Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 4 Jun 2026 19:05:36 +0900 Subject: internal/pkg: prefix reporting names This reads better than suffixes. Signed-off-by: Ophestra --- internal/pkg/tar.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/pkg/tar.go') 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]. -- cgit v1.3.1