package
3.0.0-alpha9+incompatible
Repository: https://github.com/opensvc/om3.git
Documentation: pkg.go.dev

# Functions

BSize returns a human-readable, default precision, representation of size in binary units.
BSizeCompact returns a compact human readable version of n.
BSizeCompactFromMB returns a compact human readable version of n.
BSizeWithPrecision returns a human-readable, arbitrary precision, representation of size in binary units.
No description provided by the author
CustomSize returns a human-readable approximation of a size using custom format and precision.
DSize returns a human-readable, default precision, representation of size in SI units.
DSizeWithPrecision returns a human-readable, arbitrary precision, representation of size in SI units.
No description provided by the author
No description provided by the author
FromDSize returns an integer from a human-readable representation of a size using SI standard (eg.
FromSize returns an integer from a human-readable representation of a size using Metric and IEC standard (eg.

# Constants

EB is ExaByte.
EiB is Exbibyte.
GB is GigaByte.
GiB is GibiByte.
KB is KiloByte.
KiB is KibiByte.
MB is MegaByte.
MiB is MibiByte.
PB is PetaByte.
PiB is Pebibyte.
TB is TeraByte.
TiB is TibiByte.