1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
This commit is contained in:
Victor Vieux 2013-05-23 09:35:20 +00:00
parent 6fce89e60b
commit ed56b6a905

View file

@ -132,7 +132,7 @@ func HumanDuration(d time.Duration) string {
return fmt.Sprintf("%d years", d.Hours()/24/365)
}
// HumanSize returns a human-readabla approximation of a size
// HumanSize returns a human-readable approximation of a size
// (eg. "44kB", "17MB")
func HumanSize(size int64) string {
i := 0