fix: add missing MetaPluginType imports

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 21:19:59 -03:00
parent fc54b8ff8f
commit a820078214
11 changed files with 11 additions and 11 deletions

View File

@@ -1,6 +1,6 @@
use crate::common::is_binary::is_binary; use crate::common::is_binary::is_binary;
use crate::common::PIPESIZE; use crate::common::PIPESIZE;
use crate::meta_plugin::{MetaPlugin, MetaPluginResponse}; use crate::meta_plugin::{MetaPlugin, MetaPluginResponse, MetaPluginType};
#[derive(Debug, Clone, Default)] #[derive(Debug, Clone, Default)]
pub struct BinaryMetaPlugin { pub struct BinaryMetaPlugin {

View File

@@ -1,5 +1,5 @@
use std::env; use std::env;
use crate::meta_plugin::MetaPlugin; use crate::meta_plugin::{MetaPlugin, MetaPluginType};
#[derive(Debug, Clone, Default)] #[derive(Debug, Clone, Default)]
pub struct CwdMetaPlugin { pub struct CwdMetaPlugin {

View File

@@ -1,6 +1,6 @@
use sha2::{Digest, Sha256, Sha512}; use sha2::{Digest, Sha256, Sha512};
use md5; use md5;
use crate::meta_plugin::MetaPlugin; use crate::meta_plugin::{MetaPlugin, MetaPluginType};
use std::fmt; use std::fmt;
use std::io::Write; use std::io::Write;

View File

@@ -1,4 +1,4 @@
use crate::meta_plugin::MetaPlugin; use crate::meta_plugin::{MetaPlugin, MetaPluginType};
#[derive(Debug, Clone, Default)] #[derive(Debug, Clone, Default)]
pub struct HostnameMetaPlugin { pub struct HostnameMetaPlugin {

View File

@@ -1,5 +1,5 @@
use std::process; use std::process;
use crate::meta_plugin::MetaPlugin; use crate::meta_plugin::{MetaPlugin, MetaPluginType};
#[derive(Debug, Clone, Default)] #[derive(Debug, Clone, Default)]
pub struct KeepPidMetaPlugin { pub struct KeepPidMetaPlugin {

View File

@@ -3,7 +3,7 @@ use std::io;
use crate::common::PIPESIZE; use crate::common::PIPESIZE;
use crate::meta_plugin::MetaPlugin; use crate::meta_plugin::{MetaPlugin, MetaPluginType};
#[derive(Debug)] #[derive(Debug)]
pub struct MagicFileMetaPlugin { pub struct MagicFileMetaPlugin {

View File

@@ -1,6 +1,6 @@
use std::time::Instant; use std::time::Instant;
use crate::meta_plugin::MetaPlugin; use crate::meta_plugin::{MetaPlugin, MetaPluginType};
#[derive(Debug, Clone, Default)] #[derive(Debug, Clone, Default)]
pub struct ReadRateMetaPlugin { pub struct ReadRateMetaPlugin {

View File

@@ -1,6 +1,6 @@
use std::time::Instant; use std::time::Instant;
use crate::meta_plugin::MetaPlugin; use crate::meta_plugin::{MetaPlugin, MetaPluginType};
#[derive(Debug, Clone, Default)] #[derive(Debug, Clone, Default)]
pub struct ReadTimeMetaPlugin { pub struct ReadTimeMetaPlugin {

View File

@@ -1,6 +1,6 @@
use std::env; use std::env;
use std::process; use std::process;
use crate::meta_plugin::MetaPlugin; use crate::meta_plugin::{MetaPlugin, MetaPluginType};
#[derive(Debug, Clone, Default)] #[derive(Debug, Clone, Default)]
pub struct ShellPidMetaPlugin { pub struct ShellPidMetaPlugin {

View File

@@ -1,6 +1,6 @@
use crate::common::is_binary::is_binary; use crate::common::is_binary::is_binary;
use crate::common::PIPESIZE; use crate::common::PIPESIZE;
use crate::meta_plugin::{MetaPlugin, MetaPluginResponse}; use crate::meta_plugin::{MetaPlugin, MetaPluginResponse, MetaPluginType};
#[derive(Debug, Clone)] #[derive(Debug, Clone)]
pub struct TextMetaPlugin { pub struct TextMetaPlugin {

View File

@@ -1,4 +1,4 @@
use crate::meta_plugin::MetaPlugin; use crate::meta_plugin::{MetaPlugin, MetaPluginType};
#[derive(Debug, Clone, Default)] #[derive(Debug, Clone, Default)]
pub struct UserMetaPlugin { pub struct UserMetaPlugin {