Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
949ff87bca | |||
8685961eed |
@ -239,10 +239,10 @@ fn update_dir(
|
|||||||
"[{}] Downloading outdated or missing files for {}, {}",
|
"[{}] Downloading outdated or missing files for {}, {}",
|
||||||
"Info".bright_magenta(),
|
"Info".bright_magenta(),
|
||||||
remote_dir,
|
remote_dir,
|
||||||
misc::human_readable_bytes(total_download_size(&files_to_download, &remote_dir))
|
misc::human_readable_bytes(total_download_size(&files_to_download, remote_dir))
|
||||||
);
|
);
|
||||||
for file in files_to_download {
|
for file in files_to_download {
|
||||||
let file_name = &file.name.replace(&format!("{}/", remote_dir), "/");
|
let file_name = &file.name.replace(&remote_dir_pre, "");
|
||||||
let file_path = dir.join(file_name);
|
let file_path = dir.join(file_name);
|
||||||
println!(
|
println!(
|
||||||
"[{}] {} ({})",
|
"[{}] {} ({})",
|
||||||
|
Reference in New Issue
Block a user