Skip to main content

fastskill_core/storage/
mod.rs

1//! Storage backend implementations
2
3use crate::core::service::ServiceError;
4use async_trait::async_trait;
5
6// Re-export storage types
7pub use filesystem::{FilesystemStorage, StorageStats};
8
9#[async_trait]
10pub trait StorageBackend: Send + Sync {
11    async fn initialize(&self) -> Result<(), ServiceError>;
12    async fn clear_cache(&self) -> Result<(), ServiceError>;
13    // Add other methods as needed
14}
15
16pub mod filesystem;
17pub mod git;
18pub mod hot_reload;
19pub mod vector_index;
20pub mod zip;
21
22// Re-export main types
23pub use hot_reload::HotReloadManager;
24pub use zip::ZipHandler;