diff options
Diffstat (limited to 'internal/utils/progress.go')
| -rw-r--r-- | internal/utils/progress.go | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/internal/utils/progress.go b/internal/utils/progress.go deleted file mode 100644 index 2adcb26a..00000000 --- a/internal/utils/progress.go +++ /dev/null @@ -1,18 +0,0 @@ -// Package utils provides misc utilities. -package utils - -import ( - "fmt" - "io" -) - -// BestEffortFprintf writes one formatted message to w. -// -// It is nil-safe and ignores write errors by design. -func BestEffortFprintf(w io.Writer, format string, args ...any) { - if w == nil { - return - } - - _, _ = fmt.Fprintf(w, format, args...) -} |
