Skip to main content

format_size

Function format_size 

Source
pub fn format_size(bytes: u64) -> String
Expand description

Format bytes as human-readable size (e.g. “1.2M”, “942K”).