mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 05:14:44 +02:00
make to text
work more intuitively (#5733)
This commit is contained in:
@ -2361,7 +2361,7 @@ pub fn format_duration(duration: i64) -> String {
|
||||
)
|
||||
}
|
||||
|
||||
fn format_filesize_from_conf(num_bytes: i64, config: &Config) -> String {
|
||||
pub fn format_filesize_from_conf(num_bytes: i64, config: &Config) -> String {
|
||||
// We need to take into account config.filesize_metric so, if someone asks for KB
|
||||
// filesize_metric is true, return KiB
|
||||
format_filesize(
|
||||
|
Reference in New Issue
Block a user