use crate::core::service::ServiceError;
use crate::storage::StorageBackend;
use std::path::PathBuf;
use std::sync::Arc;
pub struct HotReloadManager {
#[allow(dead_code)]
storage: Arc<dyn StorageBackend>,
#[allow(dead_code)]
event_bus: Arc<crate::events::EventBus>,
}
impl HotReloadManager {
pub fn new(
storage: Arc<dyn StorageBackend>,
event_bus: Arc<crate::events::EventBus>,
) -> Result<Self, ServiceError> {
Ok(Self { storage, event_bus })
}
pub async fn enable_hot_reloading(&self, _paths: Vec<PathBuf>) -> Result<(), ServiceError> {
Ok(())
}
pub async fn disable_hot_reloading(&self) -> Result<(), ServiceError> {
Ok(())
}
}