containerd/vendor/github.com/docker/go-units
Sebastiaan van Stijn c79c7921c0
bump docker/go-units v0.4.0
relevant changes:

- docker/go-units#19 make 1 second not to be plural seconds
- docker/go-units#20 Add `HumanSizeWithPrecision` function
- docker/go-units#21 change week display rule
- docker/go-units#22 Better human duration precision
- docker/go-units#23 Removes spaces before unit
- docker/go-units#27 Fix #26 - RAMInBytes Bug
- docker/go-units#33 Fix handling of unlimited (-1) ulimit values
- docker/go-units#34 Revert 46 minute threshold

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-04-23 17:07:58 +02:00
..
duration.go bump docker/go-units v0.4.0 2019-04-23 17:07:58 +02:00
LICENSE Add vendoring to containerd master 2017-01-11 16:59:06 -05:00
README.md clean up unused nats code 2017-02-20 05:28:09 +00:00
size.go bump docker/go-units v0.4.0 2019-04-23 17:07:58 +02:00
ulimit.go bump docker/go-units v0.4.0 2019-04-23 17:07:58 +02:00

GoDoc

Introduction

go-units is a library to transform human friendly measurements into machine friendly values.

Usage

See the docs in godoc for examples and documentation.

Copyright © 2015 Docker, Inc.

go-units is licensed under the Apache License, Version 2.0. See LICENSE for the full text of the license.