Skip to main content

format_docker_bytes

Function format_docker_bytes 

Source
pub fn format_docker_bytes(bytes: i64) -> String
Expand description

Format a byte count with the largest binary unit docker run accepts that represents it exactly (268435456 → 256m).