41ab43cbe6
On Windows, occasionally: t := time.Now() ... humanize.FormatByteRate(size, time.Since(t)) will result in time.Since returning 0. This commit clamps the duration to be at least 1 nanosecond. |
||
---|---|---|
.. | ||
humanize_test.go | ||
humanize.go | ||
package.go |