diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-06-04 19:05:36 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-06-04 19:05:36 +0900 |
| commit | 8fb6fdaa80e793928f80c45d058aa5aebf79e78b (patch) | |
| tree | d8c2486605843e6ec5f1019b5aa3dd3b36ef0e97 /internal/pkg/compress.go | |
| parent | db69dcf0be0c1be4e3187027fa4199538013e76d (diff) | |
internal/pkg: prefix reporting names
This reads better than suffixes.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/pkg/compress.go')
| -rw-r--r-- | internal/pkg/compress.go | 4 |
1 files changed, 2 insertions, 2 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 } |
