Module humansize::file_size_opts
[−]
[src]
Describes the struct that holds the options needed by the file_size
method.
The three common formats are provided as constants to be used easily
Structs
FileSizeOpts |
Holds the options to be passed to the |
Enums
Standard |
Holds the standard to use when displying the size. |
Constants
BINARY |
Options to display sizes in the binary format |
CONVENTIONAL |
Options to display sizes in the conventional format.Standard
This uses multiples of 1024 to calculate the scale, but displays decimal units ( |
DECIMAL |
Options to display sizes in the decimal format |