diff options
| author | UMTS at Teleco <crt@teleco.ch> | 2026-03-08 07:52:05 +0100 |
|---|---|---|
| committer | UMTS at Teleco <crt@teleco.ch> | 2026-03-08 07:52:05 +0100 |
| commit | 9438b2c99c6fb3dfe903a711363cffa1eb6510d2 (patch) | |
| tree | 56f586604dec3aeee9ffea7f241d093f932ffae4 /src/config.rs | |
| parent | 244b9439b9e702d78837ef29f0526b0da545bb00 (diff) | |
small note
Diffstat (limited to 'src/config.rs')
| -rw-r--r-- | src/config.rs | 7 |
1 files 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<String> { @@ -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"), |
