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 <cbrewster@hey.com>
Tested-by: BuildkiteCI
This commit is contained in:
Florian Klink 2024-03-27 12:26:06 +01:00 committed by flokli
parent ea257589d3
commit 05d3f21eaf
4 changed files with 0 additions and 93 deletions

View file

@ -1,3 +1,2 @@
pub mod fixtures;
mod nar_renderer;
pub mod utils;

View file

@ -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<BS, DS>(
blob_service: BS,
directory_service: DS,
) -> Arc<dyn PathInfoService>
where
BS: AsRef<dyn BlobService> + Send + Sync + 'static,
DS: AsRef<dyn DirectoryService> + Send + Sync + 'static,
{
Arc::new(MemoryPathInfoService::new(blob_service, directory_service))
}