diff options
Diffstat (limited to 'tvix/store/src/fuse/mod.rs')
-rw-r--r-- | tvix/store/src/fuse/mod.rs | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tvix/store/src/fuse/mod.rs b/tvix/store/src/fuse/mod.rs new file mode 100644 index 000000000000..a93f482ebff6 --- /dev/null +++ b/tvix/store/src/fuse/mod.rs @@ -0,0 +1,24 @@ +use crate::{ + blobservice::BlobService, directoryservice::DirectoryService, pathinfoservice::PathInfoService, +}; + +pub struct FUSE<BS: BlobService, DS: DirectoryService, PS: PathInfoService> { + blob_service: BS, + directory_service: DS, + path_info_service: PS, +} + +impl<BS: BlobService, DS: DirectoryService, PS: PathInfoService> FUSE<BS, DS, PS> { + pub fn new(path_info_service: PS, directory_service: DS, blob_service: BS) -> Self { + Self { + blob_service, + path_info_service, + directory_service, + } + } +} + +impl<BS: BlobService, DS: DirectoryService, PS: PathInfoService> fuser::Filesystem + for FUSE<BS, DS, PS> +{ +} |