Skip to main content

format_blocks

Function format_blocks 

Source
pub fn format_blocks(
    blocks_512: u64,
    human: bool,
    si: bool,
    kibibytes: bool,
) -> String
Expand description

Format blocks for the -s option (in 1K units by default, or –si / -h).