diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-07-30 22:41:18 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-07-30 22:41:18 +0900 |
| commit | e73f9e0626d5ac3055feac76b0eb0dfa8f25dd4c (patch) | |
| tree | 591af104342a400a8fd53aa3a6974dbb21aca078 /internal/pkg/clean.go | |
| parent | ddd90b780bf05fe4e98f7ca5d1ed321089ef0755 (diff) | |
internal/pkg: highlight miscellaneous verbose output
These were missed when adding highlight for core cache verbose output.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/pkg/clean.go')
| -rw-r--r-- | internal/pkg/clean.go | 15 |
1 files changed, 12 insertions, 3 deletions
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, |
