From a218f421b2e4694d350e262d8cd52775359bca26 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Sat, 9 Nov 2024 17:07:10 +0000 Subject: [PATCH] refactor(tvix/store): move Cache to cache mod This being in combinators makes it harder to find. Change-Id: If7984bdbd43f164c670548639bb4846d859f6695 Reviewed-on: https://cl.tvl.fyi/c/depot/+/12750 Reviewed-by: yuka Tested-by: BuildkiteCI --- tvix/store/src/pathinfoservice/{combinators.rs => cache.rs} | 0 tvix/store/src/pathinfoservice/mod.rs | 6 ++---- 2 files changed, 2 insertions(+), 4 deletions(-) rename tvix/store/src/pathinfoservice/{combinators.rs => cache.rs} (100%) diff --git a/tvix/store/src/pathinfoservice/combinators.rs b/tvix/store/src/pathinfoservice/cache.rs similarity index 100% rename from tvix/store/src/pathinfoservice/combinators.rs rename to tvix/store/src/pathinfoservice/cache.rs diff --git a/tvix/store/src/pathinfoservice/mod.rs b/tvix/store/src/pathinfoservice/mod.rs index d31a1e652..e64f1e2fc 100644 --- a/tvix/store/src/pathinfoservice/mod.rs +++ b/tvix/store/src/pathinfoservice/mod.rs @@ -1,4 +1,4 @@ -mod combinators; +mod cache; mod from_addr; mod grpc; mod lru; @@ -22,9 +22,7 @@ use tvix_castore::Error; use crate::nar::NarCalculationService; pub use crate::path_info::PathInfo; -pub use self::combinators::{ - Cache as CachePathInfoService, CacheConfig as CachePathInfoServiceConfig, -}; +pub use self::cache::{Cache as CachePathInfoService, CacheConfig as CachePathInfoServiceConfig}; pub use self::from_addr::from_addr; pub use self::grpc::{GRPCPathInfoService, GRPCPathInfoServiceConfig}; pub use self::lru::{LruPathInfoService, LruPathInfoServiceConfig};