//
pkg.gl
Category
github.com/containers/common
pkg
strongunits
package
0.62.0
Repository:
https://github.com/containers/common.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
0
Dependents
7
Files
36 SLOC
#
Functions
ToGiB
ToGiB converts any StorageUnit type to GiB.
ToKiB
ToKiB converts any StorageUnit type to KiB.
ToMib
ToMib converts any StorageUnit type to MiB.
#
Interfaces
StorageUnits
StorageUnits is an interface for converting disk/memory storage units amongst each other.
#
Type aliases
B
B represents bytes.
GiB
GiB represents GiB.
KiB
KiB represents KiB.
MiB
MiB represents MiB.