refactor: remove redundant configure_options and default_options methods

Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
This commit is contained in:
Andrew Phillips
2025-08-27 10:43:30 -03:00
parent 5d518711d5
commit b7bf9b20de
14 changed files with 0 additions and 114 deletions

View File

@@ -220,11 +220,6 @@ impl MetaPlugin for HostnameMetaPlugin {
vec!["hostname".to_string()]
}
fn default_options(&self) -> std::collections::HashMap<String, serde_yaml::Value> {
let mut options = std::collections::HashMap::new();
options.insert("full".to_string(), serde_yaml::Value::Bool(true));
options
}
fn options(&self) -> &std::collections::HashMap<String, serde_yaml::Value> {
&self.options
@@ -234,10 +229,4 @@ impl MetaPlugin for HostnameMetaPlugin {
&mut self.options
}
fn configure_options(&mut self, options: &std::collections::HashMap<String, serde_yaml::Value>) -> anyhow::Result<()> {
for (key, value) in options {
self.options.insert(key.clone(), value.clone());
}
Ok(())
}
}