diff options
author | FxQnLr <[email protected]> | 2022-12-07 17:45:16 +0100 |
---|---|---|
committer | FxQnLr <[email protected]> | 2022-12-07 17:45:16 +0100 |
commit | 758e608e6c331df2a5900de7f932f9b498573ed1 (patch) | |
tree | 4ec306b7b69613286f1d070a52c7b26d6280b111 /src/commands/update.rs | |
parent | 2ec20c50e7c02d82b248835988df040bd266b659 (diff) | |
download | modlist-758e608e6c331df2a5900de7f932f9b498573ed1.tar modlist-758e608e6c331df2a5900de7f932f9b498573ed1.tar.gz modlist-758e608e6c331df2a5900de7f932f9b498573ed1.zip |
groundwork for downloads; cleanup
Diffstat (limited to 'src/commands/update.rs')
-rw-r--r-- | src/commands/update.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/update.rs b/src/commands/update.rs index bf13319..eeb5a4d 100644 --- a/src/commands/update.rs +++ b/src/commands/update.rs | |||
@@ -1,6 +1,6 @@ | |||
1 | use std::{io::{Error, ErrorKind}, fs::rename}; | 1 | use std::{io::{Error, ErrorKind}, fs::rename}; |
2 | 2 | ||
3 | use crate::{config::Cfg, modrinth::{projects, Project, versions, extract_current_version, Version}, get_current_list, db::{userlist_get_all_ids, mods_get_versions, userlist_get_applicable_versions, userlist_change_versions, lists_get_all_ids, lists_get, userlist_get_current_version, userlist_add_disabled_versions, mods_change_versions}, List, input::Input, files::{get_file_path, delete_version}, download_versions}; | 3 | use crate::{config::Cfg, modrinth::{projects, Project, versions, extract_current_version, Version}, get_current_list, db::{userlist_get_all_ids, mods_get_versions, userlist_get_applicable_versions, userlist_change_versions, lists_get_all_ids, lists_get, userlist_get_current_version, userlist_add_disabled_versions, mods_change_versions}, List, input::Input, files::{get_file_path, delete_version, download_versions}}; |
4 | 4 | ||
5 | pub async fn update(config: Cfg, input: Input) -> Result<(), Box<dyn std::error::Error>> { | 5 | pub async fn update(config: Cfg, input: Input) -> Result<(), Box<dyn std::error::Error>> { |
6 | 6 | ||