|
@ -60,7 +60,7 @@ fn format_filesize(filesize: u64) -> String { |
|
|
} else if filesize > 999_999 && filesize <= 999_999_999 {
|
|
|
} else if filesize > 999_999 && filesize <= 999_999_999 {
|
|
|
format!("{}MB", filesize / 1_000_000)
|
|
|
format!("{}MB", filesize / 1_000_000)
|
|
|
} else if filesize > 999_999_999 {
|
|
|
} else if filesize > 999_999_999 {
|
|
|
format!("{}MB", filesize / 1_000_000_000)
|
|
|
|
|
|
|
|
|
format!("{}GB", filesize / 1_000_000_000)
|
|
|
} else {
|
|
|
} else {
|
|
|
format!("{}B", filesize)
|
|
|
format!("{}B", filesize)
|
|
|
}
|
|
|
}
|
|
|