summaryrefslogtreecommitdiff
path: root/src/commands/update.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/update.rs')
-rw-r--r--src/commands/update.rs11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/commands/update.rs b/src/commands/update.rs
index f83030d..721ced5 100644
--- a/src/commands/update.rs
+++ b/src/commands/update.rs
@@ -1,18 +1,13 @@
1use indicatif::{MultiProgress, ProgressBar, ProgressStyle}; 1use indicatif::{MultiProgress, ProgressBar, ProgressStyle};
2 2
3use crate::{ 3use crate::{
4 config::Cfg, 4 apis::modrinth::{extract_current_version, versions, Version}, config::Cfg, data::list::List, db::{
5 db::{
6 mods_get_info, userlist_change_versions, userlist_get_all_ids, 5 mods_get_info, userlist_change_versions, userlist_get_all_ids,
7 userlist_get_applicable_versions, userlist_get_current_version, 6 userlist_get_applicable_versions, userlist_get_current_version,
8 userlist_get_set_version, 7 userlist_get_set_version,
9 }, 8 }, error::{EType, MLErr, MLE}, files::{
10 error::{EType, MLErr, MLE},
11 files::{
12 clean_list_dir, delete_version, disable_version, download_versions, 9 clean_list_dir, delete_version, disable_version, download_versions,
13 }, 10 }, PROGRESS_CHARS, STYLE_BAR_POS, STYLE_OPERATION
14 modrinth::{extract_current_version, versions, Version},
15 List, PROGRESS_CHARS, STYLE_BAR_POS, STYLE_OPERATION,
16}; 11};
17 12
18/// # Errors 13/// # Errors