refactor(tvix/store): use composition in tvix_store crate

Change-Id: Ie6290b296baba2b987f1a61c9bb4c78549ac11f1
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11983
Reviewed-by: flokli <flokli@flokli.de>
Autosubmit: yuka <yuka@yuka.dev>
Tested-by: BuildkiteCI
This commit is contained in:
Yureka 2024-07-19 15:22:48 +02:00 committed by clbot
parent 6180a7cecf
commit 8b77c7fcd7
20 changed files with 569 additions and 251 deletions

View file

@ -80,7 +80,7 @@ mod tests {
let io = Rc::new(TvixStoreIO::new(
blob_service,
directory_service,
path_info_service.into(),
path_info_service,
nar_calculation_service.into(),
Arc::<DummyBuildService>::default(),
runtime.handle().clone(),

View file

@ -41,7 +41,7 @@ fn eval_test(code_path: PathBuf, expect_success: bool) {
let tvix_store_io = Rc::new(TvixStoreIO::new(
blob_service,
directory_service,
path_info_service.into(),
path_info_service,
nar_calculation_service.into(),
Arc::new(DummyBuildService::default()),
tokio_runtime.handle().clone(),

View file

@ -648,7 +648,7 @@ mod tests {
let io = Rc::new(TvixStoreIO::new(
blob_service,
directory_service,
path_info_service.into(),
path_info_service,
nar_calculation_service.into(),
Arc::<DummyBuildService>::default(),
tokio_runtime.handle().clone(),