From 9438b2c99c6fb3dfe903a711363cffa1eb6510d2 Mon Sep 17 00:00:00 2001 From: UMTS at Teleco Date: Sun, 8 Mar 2026 07:52:05 +0100 Subject: small note --- src/config.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/config.rs b/src/config.rs index 650f616..1e2efeb 100644 --- a/src/config.rs +++ b/src/config.rs @@ -124,7 +124,7 @@ fn default_clear_on_search() -> bool { } fn default_jobs() -> u8 { - 4 + 32 } fn default_noretry() -> Vec { @@ -136,7 +136,7 @@ fn default_backups_enabled() -> bool { } fn default_backup_count() -> u32 { - 6 + 32 } impl Default for Settings { @@ -194,6 +194,7 @@ struct LegacyConfig { scratchpad: String, } +// this implementation is partially containing ai slop i should remove no need for that idk why this was made to have legacy support by it but eh idc impl Config { pub fn load(path: &Path) -> Self { match std::fs::read_to_string(path) { @@ -424,7 +425,7 @@ pub fn resolve_paths(explicit: Option<&PathBuf>) -> HoardomPaths { } } - // nothing works - disable caching, use a dummy path + // nothing works disable caching, use a dummy path eprintln!("Warning: could not create .hoardom directory anywhere, caching disabled"); HoardomPaths { config_file: PathBuf::from(".hoardom/config.toml"), -- cgit v1.2.3-70-g09d2