From 05d3f21eaf0834d44b6f32a49ae3276ebcb6571c Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Wed, 27 Mar 2024 12:26:06 +0100 Subject: refactor(tvix/store): drop proto/tests/{utils,grpc_pathinfoservice}.rs As for grpc_pathinfoservice, we test this in the rstest-based tests, with more implementations. tests/utils.rs is unused now. Change-Id: I62b192170d181e4fb432bf7dfff2057cb048b52c Reviewed-on: https://cl.tvl.fyi/c/depot/+/11279 Reviewed-by: Connor Brewster Tested-by: BuildkiteCI --- tvix/store/src/tests/utils.rs | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 tvix/store/src/tests/utils.rs (limited to 'tvix/store/src/tests/utils.rs') diff --git a/tvix/store/src/tests/utils.rs b/tvix/store/src/tests/utils.rs deleted file mode 100644 index 040b7ee7f5..0000000000 --- a/tvix/store/src/tests/utils.rs +++ /dev/null @@ -1,16 +0,0 @@ -use crate::pathinfoservice::{MemoryPathInfoService, PathInfoService}; -use std::sync::Arc; -use tvix_castore::{blobservice::BlobService, directoryservice::DirectoryService}; - -pub use tvix_castore::utils::*; - -pub fn gen_pathinfo_service( - blob_service: BS, - directory_service: DS, -) -> Arc -where - BS: AsRef + Send + Sync + 'static, - DS: AsRef + Send + Sync + 'static, -{ - Arc::new(MemoryPathInfoService::new(blob_service, directory_service)) -} -- cgit 1.4.1