From e73f9e0626d5ac3055feac76b0eb0dfa8f25dd4c Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 30 Jul 2026 22:41:18 +0900 Subject: internal/pkg: highlight miscellaneous verbose output These were missed when adding highlight for core cache verbose output. Signed-off-by: Ophestra --- internal/pkg/clean.go | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'internal/pkg/clean.go') diff --git a/internal/pkg/clean.go b/internal/pkg/clean.go index efeb40de..f07706cf 100644 --- a/internal/pkg/clean.go +++ b/internal/pkg/clean.go @@ -73,7 +73,10 @@ func (c *Cache) Clean(dry, inputs bool, keep ...Artifact) ( continue } - c.msg.Verbosef("arranging for destruction of %s...", name) + c.msg.Verbosef( + "arranging for destruction of %s%s%s...", + c.sgrIdent, name, c.sgrRes, + ) idents = append(idents, identPair{id, name}) } @@ -102,7 +105,10 @@ func (c *Cache) Clean(dry, inputs bool, keep ...Artifact) ( if err = c.parent.Err(); err != nil { return destroyedIdents, destroyedChecksums, err } - c.msg.Verbosef("destroying checksum %s...", name) + c.msg.Verbosef( + "destroying checksum %s%s%s...", + c.sgrIdent, name, c.sgrRes, + ) if !dry { if err = errors.Join(removeAll(c.base.Append( dirChecksum, @@ -130,7 +136,10 @@ func (c *Cache) Clean(dry, inputs bool, keep ...Artifact) ( continue } - c.msg.Verbosef("destroying substitute %s...", name) + c.msg.Verbosef( + "destroying substitute %s%s%s...", + c.sgrIdent, name, c.sgrRes, + ) if !dry { if err = os.Remove(c.base.Append( dirStatus, -- cgit v1.3.1