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/modification.rs | |
parent | 2ec20c50e7c02d82b248835988df040bd266b659 (diff) | |
download | modlist-758e608e6c331df2a5900de7f932f9b498573ed1.tar modlist-758e608e6c331df2a5900de7f932f9b498573ed1.tar.gz modlist-758e608e6c331df2a5900de7f932f9b498573ed1.zip |
groundwork for downloads; cleanup
Diffstat (limited to 'src/commands/modification.rs')
-rw-r--r-- | src/commands/modification.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/modification.rs b/src/commands/modification.rs index f36c8c6..91243fc 100644 --- a/src/commands/modification.rs +++ b/src/commands/modification.rs | |||
@@ -1,6 +1,6 @@ | |||
1 | use std::io::{Error, ErrorKind}; | 1 | use std::io::{Error, ErrorKind}; |
2 | 2 | ||
3 | use crate::{modrinth::{project, versions, extract_current_version, Version}, config::Cfg, db::{mods_insert, userlist_remove, mods_get_id, userlist_insert, mods_get_all_ids, userlist_get_all_ids, userlist_get_current_version, lists_get_all_ids, mods_remove}, input::{Input, Subcmd}, get_current_list, download_versions, files::delete_version}; | 3 | use crate::{modrinth::{project, versions, extract_current_version, Version}, config::Cfg, db::{mods_insert, userlist_remove, mods_get_id, userlist_insert, mods_get_all_ids, userlist_get_all_ids, userlist_get_current_version, lists_get_all_ids, mods_remove}, input::{Input, Subcmd}, get_current_list, files::{delete_version, download_versions}}; |
4 | 4 | ||
5 | pub async fn modification(config: Cfg, input: Input) -> Result<(), Box<dyn std::error::Error>> { | 5 | pub async fn modification(config: Cfg, input: Input) -> Result<(), Box<dyn std::error::Error>> { |
6 | 6 | ||