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:
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user