Searched refs:CacheConfig (Results 1 – 6 of 6) sorted by relevance
1 use super::CacheConfig;24 CacheConfig::from_file(Some(config_path)).unwrap()33 assert!(CacheConfig::from_file(Some(config_path)).is_err());99 fn check_conf(conf: &CacheConfig, cd: &PathBuf) { in test_all_settings() argument465 let expected_config = CacheConfig::from_file(Some(&cp)).unwrap(); in test_builder_default()467 let mut config = CacheConfig::new(); in test_builder_default()520 let mut conf = CacheConfig::new(); in test_builder_all_settings()536 fn check_conf(conf: &CacheConfig, cd: &PathBuf) { in test_builder_all_settings() argument
26 pub use config::{CacheConfig, create_new_config};32 config: CacheConfig,54 pub fn new(mut config: CacheConfig) -> Result<Self> { in new()81 let config = CacheConfig::from_file(path)?; in from_file()
20 cache: CacheConfig,26 pub struct CacheConfig { struct94 impl Default for CacheConfig { argument317 impl CacheConfig { impl
19 use super::{CacheConfig, fs_write_atomic};47 cache_config: CacheConfig,67 pub(super) fn start_new(cache_config: &CacheConfig) -> Self { in start_new()169 fn default(cache_config: &CacheConfig) -> Self { in default()544 cache_config: &CacheConfig, in list_cache_contents() argument
23 let cache_config = CacheConfig::from_file(Some(&config_path)).unwrap(); in test_cache_init()
31 pub use wasmtime_cache::{Cache, CacheConfig};