pub mod static_combinable;
pub mod combinable;
pub mod combinable_dir;
mod rcu;
pub mod driver;
mod wheel;
mod without_link;
pub mod static_driver;
pub use wheel::Wheel;
pub trait VfsBasicMeta
where
Self: Send + Sync + Clone + Sized + 'static,
{
fn name(&self) -> &str;
fn size(&self) -> u64; fn last_modified(&self) -> std::time::SystemTime;
}
pub trait VfsFileMeta: VfsBasicMeta {
fn on_download(&self) -> String;
}
pub trait VfsDirMeta<File: VfsFileMeta>: VfsBasicMeta {
fn files(&self) -> &Vec<File>;
fn subdirectories(&self) -> &Vec<Self>;
}