diff options
| author | 2026-03-08 13:53:24 +0800 | |
|---|---|---|
| committer | 2026-03-08 13:53:24 +0800 | |
| commit | 043449fe7dc8e5608920889a83d35444f9b2bffb (patch) | |
| tree | a30a0929588fe41f9fff2af6cd4e9ebf384997b3 /internal | |
| parent | internal/utils: Rename WriteProgressf to FprintfBestEffort (diff) | |
| signature | No signature | |
*: BestEffortFprintf as linter wants
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/utils/progress.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/utils/progress.go b/internal/utils/progress.go index acb763ac..2adcb26a 100644 --- a/internal/utils/progress.go +++ b/internal/utils/progress.go @@ -6,10 +6,10 @@ import ( "io" ) -// FprintfBestEffort writes one formatted message to w. +// BestEffortFprintf writes one formatted message to w. // // It is nil-safe and ignores write errors by design. -func FprintfBestEffort(w io.Writer, format string, args ...any) { +func BestEffortFprintf(w io.Writer, format string, args ...any) { if w == nil { return } |
