1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg/units
Francisco Carriedo 0fd37bd7ac pkg/units: Standardized supported sizes
May make sense that both `FromHumanSize()` and `RAMInBytes()` support
the same units. Added 'PB' to the RAMInBytes regex.

Also updated tests.

Note: int64 is overflowed on quantities >= EB

Docker-DCO-1.1-Signed-off-by: Francisco Carriedo <fcarriedo@gmail.com> (github: fcarriedo)
2014-07-23 23:37:06 -07:00
..
duration.go Move duration and size to units pkg 2014-05-12 17:05:07 -07:00
duration_test.go pkg/units: Increased test coverage. Closes #7159. 2014-07-22 09:56:58 -07:00
MAINTAINERS Move duration and size to units pkg 2014-05-12 17:05:07 -07:00
size.go pkg/units: Standardized supported sizes 2014-07-23 23:37:06 -07:00
size_test.go pkg/units: Standardized supported sizes 2014-07-23 23:37:06 -07:00