platform: Display k based bytes

This commit is contained in:
世界
2026-01-17 05:49:45 +08:00
parent 6cd1eb9b94
commit 3890bd2be7
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -71,11 +71,11 @@ func Version() string {
}
func FormatBytes(length int64) string {
return byteformats.FormatBytes(uint64(length))
return byteformats.FormatKBytes(uint64(length))
}
func FormatMemoryBytes(length int64) string {
return byteformats.FormatMemoryBytes(uint64(length))
return byteformats.FormatMemoryKBytes(uint64(length))
}
func FormatDuration(duration int64) string {