blob: ec379bddcf77b6d4e79bc73b45476643872c337a (
plain) (
tree)
|
|
use crate::{
blobservice::{BlobService, MemoryBlobService},
directoryservice::{DirectoryService, MemoryDirectoryService},
pathinfoservice::{MemoryPathInfoService, PathInfoService},
};
pub fn gen_blob_service() -> Box<dyn BlobService> {
Box::new(MemoryBlobService::default())
}
pub fn gen_directory_service() -> impl DirectoryService + Send + Sync + Clone + 'static {
MemoryDirectoryService::default()
}
pub fn gen_pathinfo_service() -> impl PathInfoService {
MemoryPathInfoService::default()
}
|