internal/pkg: prefix reporting names
All checks were successful
Test / Create distribution (push) Successful in 3m40s
Test / Sandbox (push) Successful in 6m6s
Test / Hakurei (push) Successful in 7m37s
Test / ShareFS (push) Successful in 7m43s
Test / Sandbox (race detector) (push) Successful in 9m6s
Test / Hakurei (race detector) (push) Successful in 11m38s
Test / Flake checks (push) Successful in 5m27s

This reads better than suffixes.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-06-04 19:05:36 +09:00
parent db69dcf0be
commit 8fb6fdaa80
2 changed files with 4 additions and 4 deletions

View File

@@ -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 }