From 6820f071511ea90e04f759e6de02502ae828022f Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 8 Mar 2026 13:33:47 +0800 Subject: internal/utils: Rename WriteProgressf to FprintfBestEffort --- internal/utils/progress.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/utils/progress.go') diff --git a/internal/utils/progress.go b/internal/utils/progress.go index f97dedc6..acb763ac 100644 --- a/internal/utils/progress.go +++ b/internal/utils/progress.go @@ -6,10 +6,10 @@ import ( "io" ) -// WriteProgressf writes one formatted progress message to w. +// FprintfBestEffort writes one formatted message to w. // // It is nil-safe and ignores write errors by design. -func WriteProgressf(w io.Writer, format string, args ...any) { +func FprintfBestEffort(w io.Writer, format string, args ...any) { if w == nil { return } -- cgit v1.3.1-10-gc9f91