Write the status of layers to download.
(prep: &PreparedImport)
| 670 | |
| 671 | /// Write the status of layers to download. |
| 672 | pub fn print_layer_status(prep: &PreparedImport) { |
| 673 | if let Some(status) = prep.format_layer_status() { |
| 674 | println!("{status}"); |
| 675 | let _ = std::io::stdout().flush(); |
| 676 | } |
| 677 | } |
| 678 | |
| 679 | /// Write a deprecation notice, and sleep for 3 seconds. |
| 680 | pub async fn print_deprecated_warning(msg: &str) { |
no test coverage detected