about summary refs log tree commit diff
path: root/tvix/store/src/pathinfoservice/tests
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-05-10T11·01+0300
committerclbot <clbot@tvl.fyi>2024-05-11T13·55+0000
commit03af6ab72517c811f3a1143d13522e22823c3a05 (patch)
treef3396c9555afe01e3d540d0744f7d8072dc0ddc7 /tvix/store/src/pathinfoservice/tests
parent14766cfe1d41495f1c5aaec297c0e87756f0ff31 (diff)
refactor(tvix/store/pathinfo/memory): drop {blob,directory}_service r/8104
These are not used anymore.

Change-Id: I6c16b4d80ddaabcb75fec3ea3e32b923b7719485
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11620
Tested-by: BuildkiteCI
Reviewed-by: Connor Brewster <cbrewster@hey.com>
Autosubmit: flokli <flokli@flokli.de>
Diffstat (limited to 'tvix/store/src/pathinfoservice/tests')
-rw-r--r--tvix/store/src/pathinfoservice/tests/utils.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/tvix/store/src/pathinfoservice/tests/utils.rs b/tvix/store/src/pathinfoservice/tests/utils.rs
index e47cc9d6c383..30c5902b610f 100644
--- a/tvix/store/src/pathinfoservice/tests/utils.rs
+++ b/tvix/store/src/pathinfoservice/tests/utils.rs
@@ -26,9 +26,8 @@ pub async fn make_grpc_path_info_service_client() -> super::BSDSPS {
         let blob_service = blob_service.clone();
         let directory_service = directory_service.clone();
         async move {
-            let path_info_service: Arc<dyn PathInfoService> = Arc::from(
-                MemoryPathInfoService::new(blob_service.clone(), directory_service.clone()),
-            );
+            let path_info_service: Arc<dyn PathInfoService> =
+                Arc::from(MemoryPathInfoService::default());
             let nar_calculation_service =
                 Box::new(SimpleRenderer::new(blob_service, directory_service))
                     as Box<dyn NarCalculationService>;