mod config;
mod parsing;
mod paths;
mod resolve;
mod settings;
mod store;
mod terminal_detect;
mod terminal_query;
mod types;
pub use config::{
REPOS_SKELETON_CONTENT, ensure_settings_keys_present, ensure_theme_keys_present,
maybe_migrate_legacy_confs, save_app_start_mode, save_fuzzy_search, save_mirror_count,
save_news_filter_installed_only, save_news_filter_show_advisories,
save_news_filter_show_arch_news, save_news_filter_show_aur_comments,
save_news_filter_show_aur_updates, save_news_filter_show_pkg_updates,
save_news_filters_collapsed, save_news_max_age_days, save_results_filter_show_canonical,
save_scan_do_clamav, save_scan_do_custom, save_scan_do_semgrep, save_scan_do_shellcheck,
save_scan_do_sleuth, save_scan_do_trivy, save_scan_do_virustotal, save_selected_countries,
save_show_install_pane, save_show_keybinds_footer, save_show_recent_pane, save_sort_mode,
save_startup_news_configured, save_startup_news_max_age_days,
save_startup_news_show_advisories, save_startup_news_show_arch_news,
save_startup_news_show_aur_comments, save_startup_news_show_aur_updates,
save_startup_news_show_pkg_updates, save_virustotal_api_key,
};
pub use paths::{config_dir, lists_dir, logs_dir, resolve_repos_config_path};
pub use settings::settings;
pub use store::{reload_theme, theme};
pub use types::{KeyChord, KeyMap, PackageMarker, Settings, Theme};
#[cfg(test)]
static TEST_MUTEX: std::sync::OnceLock<std::sync::Mutex<()>> = std::sync::OnceLock::new();
#[cfg(test)]
pub(crate) fn test_mutex() -> &'static std::sync::Mutex<()> {
TEST_MUTEX.get_or_init(|| std::sync::Mutex::new(()))
}