Skip to content

Commit

Permalink
🚚 rename settings.rs to config.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
mleduque committed May 10, 2024
1 parent 519c461 commit 8b9553e
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion modda-cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use modda_lib::canon_path::CanonPath;
use modda_lib::chitin::ensure_chitin_key;
use modda_lib::modda_context::WeiduContext;
use modda_lib::run_weidu::check_weidu_exe;
use modda_lib::settings::read_settings;
use modda_lib::config::read_settings;
use modda_lib::sub::append_mod::append_mod;
use modda_lib::sub::discover::discover;
use modda_lib::sub::extract_manifest::extract_manifest;
Expand Down
2 changes: 1 addition & 1 deletion modda-lib/src/archive_extractor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use crate::canon_path::CanonPath;
use crate::module::location::ConcreteLocation;
use crate::lowercase::{LwcString, lwc};
use crate::module::pre_copy_command::PrecopyCommand;
use crate::settings::{Config, ExtractorCommand};
use crate::config::{Config, ExtractorCommand};


#[cfg_attr(test, faux::create)]
Expand Down
2 changes: 1 addition & 1 deletion modda-lib/src/cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use std::path::{PathBuf, Path};

use anyhow::{bail, Result};

use crate::settings::Config;
use crate::config::Config;



Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions modda-lib/src/get_module.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use crate::module::location::{ConcreteLocation, Location};
use crate::lowercase::LwcString;
use crate::module::weidu_mod::WeiduMod;
use crate::replace::ReplaceSpec;
use crate::settings::Config;
use crate::config::Config;

pub struct ModuleDownload<'a> {
pub global: &'a Global,
Expand Down Expand Up @@ -155,7 +155,7 @@ mod test_retrieve_location {
use crate::module::location::{ConcreteLocation, Location};
use crate::module::location::source::Source;
use crate::module::weidu_mod::WeiduMod;
use crate:: settings::Config;
use crate:: config::Config;
use crate::canon_path::CanonPath;
use crate::cache::Cache;

Expand Down
2 changes: 1 addition & 1 deletion modda-lib/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pub mod progname;
pub mod replace;
pub mod run_result;
pub mod run_weidu;
pub mod settings;
pub mod config;
pub mod sub;
pub mod timeline;
pub mod tp2;
Expand Down
2 changes: 1 addition & 1 deletion modda-lib/src/modda_context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use crate::args::Install;
use crate::canon_path::CanonPath;
use crate::file_installer::FileInstaller;
use crate::get_module::ModuleDownload;
use crate::settings::Config;
use crate::config::Config;


pub struct ModdaContext<'a> {
Expand Down
2 changes: 1 addition & 1 deletion modda-lib/src/run_weidu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ pub fn run_weidu_uninstall(tp2: &str, module: &BareMod, opts: &Reset, weidu_cont
mod tests {
use crate::modda_context::WeiduContext;
use crate::run_weidu::weidu_command;
use crate::settings::Config;
use crate::config::Config;
use super::WEIDU_BIN;

#[test]
Expand Down
2 changes: 1 addition & 1 deletion modda-lib/src/sub/install.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ use crate::post_install::PostInstallOutcome;
use crate::log_parser::{check_install_complete, parse_weidu_log, LogRow};
use crate::module::manifest::Manifest;
use crate::process_weidu_mod::{process_generated_mod, process_weidu_mod, ProcessResult};
use crate::settings::Config;
use crate::config::Config;
use crate::timeline::InstallTimeline;
use crate::unique_component::UniqueComponent;
use crate::weidu_conf::check_weidu_conf_lang;
Expand Down

0 comments on commit 8b9553e

Please sign in to comment.