refactor: remove unused item_id fields from meta plugins
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
This commit is contained in:
@@ -7,7 +7,6 @@ use crate::meta_plugin::MetaPlugin;
|
|||||||
pub struct DigestSha256MetaPlugin {
|
pub struct DigestSha256MetaPlugin {
|
||||||
hasher: Sha256,
|
hasher: Sha256,
|
||||||
meta_name: String,
|
meta_name: String,
|
||||||
item_id: Option<i64>,
|
|
||||||
outputs: std::collections::HashMap<String, serde_yaml::Value>,
|
outputs: std::collections::HashMap<String, serde_yaml::Value>,
|
||||||
options: std::collections::HashMap<String, serde_yaml::Value>,
|
options: std::collections::HashMap<String, serde_yaml::Value>,
|
||||||
}
|
}
|
||||||
@@ -40,7 +39,6 @@ impl DigestSha256MetaPlugin {
|
|||||||
DigestSha256MetaPlugin {
|
DigestSha256MetaPlugin {
|
||||||
hasher: Sha256::new(),
|
hasher: Sha256::new(),
|
||||||
meta_name: "digest_sha256".to_string(),
|
meta_name: "digest_sha256".to_string(),
|
||||||
item_id: None,
|
|
||||||
outputs: final_outputs,
|
outputs: final_outputs,
|
||||||
options: final_options,
|
options: final_options,
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,7 +10,6 @@ pub struct MagicFileMetaPlugin {
|
|||||||
buffer: Vec<u8>,
|
buffer: Vec<u8>,
|
||||||
max_buffer_size: usize,
|
max_buffer_size: usize,
|
||||||
is_saved: bool,
|
is_saved: bool,
|
||||||
item_id: Option<i64>,
|
|
||||||
cookie: Option<Cookie>,
|
cookie: Option<Cookie>,
|
||||||
base: crate::meta_plugin::BaseMetaPlugin,
|
base: crate::meta_plugin::BaseMetaPlugin,
|
||||||
}
|
}
|
||||||
@@ -53,7 +52,6 @@ impl MagicFileMetaPlugin {
|
|||||||
buffer: Vec::new(),
|
buffer: Vec::new(),
|
||||||
max_buffer_size,
|
max_buffer_size,
|
||||||
is_saved: false,
|
is_saved: false,
|
||||||
item_id: None,
|
|
||||||
cookie: None,
|
cookie: None,
|
||||||
base,
|
base,
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ pub struct MetaPluginProgram {
|
|||||||
pub split_whitespace: bool,
|
pub split_whitespace: bool,
|
||||||
process: Option<Child>,
|
process: Option<Child>,
|
||||||
writer: Option<Box<dyn Write>>,
|
writer: Option<Box<dyn Write>>,
|
||||||
item_id: Option<i64>,
|
|
||||||
result: Option<String>,
|
result: Option<String>,
|
||||||
outputs: std::collections::HashMap<String, serde_yaml::Value>,
|
outputs: std::collections::HashMap<String, serde_yaml::Value>,
|
||||||
options: std::collections::HashMap<String, serde_yaml::Value>,
|
options: std::collections::HashMap<String, serde_yaml::Value>,
|
||||||
@@ -72,7 +71,6 @@ impl MetaPluginProgram {
|
|||||||
split_whitespace,
|
split_whitespace,
|
||||||
process: None,
|
process: None,
|
||||||
writer: None,
|
writer: None,
|
||||||
item_id: None,
|
|
||||||
result: None,
|
result: None,
|
||||||
outputs: final_outputs,
|
outputs: final_outputs,
|
||||||
options: final_options,
|
options: final_options,
|
||||||
|
|||||||
Reference in New Issue
Block a user