- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for jansi (0.15 sec)
-
cmd/update-notifier.go
func colorizeUpdateMessage(updateString string, newerThan string) string { msgLine1Fmt := " You are running an older version of MinIO released %s " msgLine2Fmt := " Update: %s " // Calculate length *without* color coding: with ANSI terminal // color characters, the result is incorrect. line1Length := len(fmt.Sprintf(msgLine1Fmt, newerThan)) line2Length := len(fmt.Sprintf(msgLine2Fmt, updateString)) // Populate lines with color coding.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat Mar 09 03:07:08 GMT 2024 - 3.6K bytes - Viewed (0)