|
@@ -124,7 +124,7 @@ fn default_clear_on_search() -> bool {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
fn default_jobs() -> u8 {
|
|
fn default_jobs() -> u8 {
|
|
|
- 4
|
|
|
|
|
|
|
+ 32
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
fn default_noretry() -> Vec<String> {
|
|
fn default_noretry() -> Vec<String> {
|
|
@@ -136,7 +136,7 @@ fn default_backups_enabled() -> bool {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
fn default_backup_count() -> u32 {
|
|
fn default_backup_count() -> u32 {
|
|
|
- 6
|
|
|
|
|
|
|
+ 32
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
impl Default for Settings {
|
|
impl Default for Settings {
|
|
@@ -194,6 +194,7 @@ struct LegacyConfig {
|
|
|
scratchpad: String,
|
|
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 {
|
|
impl Config {
|
|
|
pub fn load(path: &Path) -> Self {
|
|
pub fn load(path: &Path) -> Self {
|
|
|
match std::fs::read_to_string(path) {
|
|
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");
|
|
eprintln!("Warning: could not create .hoardom directory anywhere, caching disabled");
|
|
|
HoardomPaths {
|
|
HoardomPaths {
|
|
|
config_file: PathBuf::from(".hoardom/config.toml"),
|
|
config_file: PathBuf::from(".hoardom/config.toml"),
|