From b5e37869e6ddddf0575bdc98e0f4cc05753f0fc0 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Mon, 12 Jun 2023 16:04:56 +0300 Subject: refactor(tvix/store/pathinfosvc): use Arc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This removes the use of generics, like previously done with Blob and Directory services. Change-Id: I7cc8bd1439b026c88e80c11e38aafc63c74e5e84 Reviewed-on: https://cl.tvl.fyi/c/depot/+/8751 Tested-by: BuildkiteCI Autosubmit: flokli Reviewed-by: tazjin --- tvix/store/src/fuse/mod.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tvix/store/src/fuse/mod.rs') diff --git a/tvix/store/src/fuse/mod.rs b/tvix/store/src/fuse/mod.rs index d28e2b309c43..7206cf3076d0 100644 --- a/tvix/store/src/fuse/mod.rs +++ b/tvix/store/src/fuse/mod.rs @@ -3,17 +3,17 @@ use crate::{ }; use std::sync::Arc; -pub struct FUSE { +pub struct FUSE { blob_service: Arc, directory_service: Arc, - path_info_service: PS, + path_info_service: Arc, } -impl FUSE { +impl FUSE { pub fn new( blob_service: Arc, directory_service: Arc, - path_info_service: PS, + path_info_service: Arc, ) -> Self { Self { blob_service, @@ -23,4 +23,4 @@ impl FUSE { } } -impl fuser::Filesystem for FUSE {} +impl fuser::Filesystem for FUSE {} -- cgit 1.4.1