Module humansize::file_size_opts
source · [−]Expand description
Describes the struct that holds the options needed by the file_size method.
The three most common formats are provided as constants to be used easily
Structs
Holds the options for the file_size method.
Enums
Forces a certain representation of the resulting file size.
Holds the standard to use when displying the size.
Constants
Options to display sizes in the binary format.
Options to display sizes in the “conventional” format.
This 1024 as the value of the Kilo, but displays decimal-style units (KB, not KiB).
Options to display sizes in the decimal format.