fix: remove unused MetaPluginType variants

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 19:38:20 -03:00
parent 4f2e76e833
commit 0d6d200ab2
2 changed files with 1 additions and 9 deletions

View File

@@ -341,11 +341,7 @@ impl ItemService {
drop(writer);
let plugin_types = vec![
MetaPluginType::FileMime,
MetaPluginType::FileEncoding,
MetaPluginType::Binary,
MetaPluginType::LineCount,
MetaPluginType::WordCount,
MetaPluginType::Digest,
MetaPluginType::User,
MetaPluginType::Hostname,

View File

@@ -34,12 +34,7 @@ impl MetaService {
// Get the plugin name to find its configuration
let plugin_name = match meta_plugin_type {
MetaPluginType::FileMagic => "file_magic",
MetaPluginType::FileMime => "file_mime",
MetaPluginType::FileEncoding => "file_encoding",
MetaPluginType::MagicFile => "magic_file",
MetaPluginType::LineCount => "line_count",
MetaPluginType::WordCount => "word_count",
MetaPluginType::Cwd => "cwd",
MetaPluginType::Binary => "binary",
MetaPluginType::Text => "text",
@@ -51,6 +46,7 @@ impl MetaService {
MetaPluginType::ReadTime => "read_time",
MetaPluginType::ReadRate => "read_rate",
MetaPluginType::Hostname => "hostname",
MetaPluginType::Program => "program",
};
// Get options and outputs from settings