Skip to main content

format_size_bytes

Function format_size_bytes 

Source
pub fn format_size_bytes(
    bytes: u64,
    block_size: BlockSize,
    human: bool,
    si: bool,
) -> String
Expand description

Format a size field according to block-size / human flags.