diff --git a/src/meta_plugin/binary.rs b/src/meta_plugin/binary.rs deleted file mode 100644 index d9e97b1..0000000 --- a/src/meta_plugin/binary.rs +++ /dev/null @@ -1,56 +0,0 @@ -use crate::meta_plugin::{BaseMetaPlugin, MetaPlugin, MetaPluginType}; -use crate::services::error::CoreError; -use std::path::Path; - -pub struct BinaryMetaPlugin { - base: BaseMetaPlugin, -} - -impl BinaryMetaPlugin { - pub fn new() -> Self { - BinaryMetaPlugin { - base: BaseMetaPlugin { - outputs: std::collections::HashMap::new(), - options: std::collections::HashMap::new(), - is_finalized: false, - }, - } - } -} - -impl MetaPlugin for BinaryMetaPlugin { - fn meta_type(&self) -> MetaPluginType { - MetaPluginType::Binary - } - - fn is_supported(&self) -> bool { - true - } - - fn is_internal(&self) -> bool { - true - } - - fn process(&mut self, path: &Path) -> Result<(), CoreError> { - // TODO: Implement binary detection logic - // For now, we'll just set a placeholder value - self.base.outputs.insert( - "is_binary".to_string(), - serde_yaml::Value::Bool(false), - ); - Ok(()) - } - - fn finalize(&mut self) -> Result<(), CoreError> { - self.base.is_finalized = true; - Ok(()) - } - - fn get_outputs(&self) -> Result, CoreError> { - Ok(self.base.outputs.clone()) - } - - fn get_options(&self) -> Result, CoreError> { - Ok(self.base.options.clone()) - } -}