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:
parent
ea257589d3
commit
05d3f21eaf
4 changed files with 0 additions and 93 deletions
|
|
@ -1,3 +1,2 @@
|
|||
pub mod fixtures;
|
||||
mod nar_renderer;
|
||||
pub mod utils;
|
||||
|
|
|
|||
|
|
@ -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))
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue