1
0
mirror of https://github.com/jht5945/buildj.git synced 2025-12-27 17:20:06 +08:00
This commit is contained in:
2019-08-09 08:58:28 +08:00
parent 6975469d5f
commit 2b80bcf4ae

View File

@@ -58,6 +58,7 @@ pub fn calc_sha256(d: &[u8]) -> String {
sha256.result_str()
}
// TODO move to rust_util
fn print_status_last_line(head: &str, total: i64, written: i64, cost: Duration) {
let mut download_speed = "-".to_string();
let cost_as_secs = cost.as_secs();