refactor: remove new_simple methods and replace with new(None, None)

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 13:59:37 -03:00
parent de6cdf6bfc
commit fdcccc844e
14 changed files with 18 additions and 58 deletions

View File

@@ -57,9 +57,6 @@ impl MagicFileMetaPlugin {
}
}
pub fn new_simple() -> MagicFileMetaPlugin {
Self::new(None, None)
}
fn get_magic_result(&self, flags: CookieFlags) -> io::Result<String> {
// Use the existing cookie and just change flags