Function as_gb

Source
pub fn as_gb(bytes: f64, si: bool, short: bool) -> String
Expand description

Display GB or GiB if short is false, otherwise if short is true and the value is greater than 1TB or 1TiB, display units using as_data_size().