Searched refs:cache_dir (Results 1 – 7 of 7) sorted by relevance
| /wasmtime-44.0.1/crates/cache/src/worker/ |
| H A D | tests.rs | 18 cache_dir in test_on_get_create_stats_file() 44 cache_dir in test_on_get_update_usage_counter() 79 cache_dir in test_on_get_recompress_no_mod_file() 119 cache_dir in test_on_get_recompress_with_mod_file() 194 cache_dir in test_on_get_recompress_lock() 260 cache_dir in test_on_update_fresh_stats_file() 312 cache_dir in test_on_update_cleanup_limits_trash_locks() 325 cache_dir.join("trash-file"), in test_on_update_cleanup_limits_trash_locks() 447 cache_dir in test_on_update_cleanup_lru_policy() 578 cache_dir in test_on_update_cleanup_future_files() [all …]
|
| /wasmtime-44.0.1/crates/cache/src/ |
| H A D | tests.rs | 12 let (_tempdir, cache_dir, config_path) = test_prolog(); in test_cache_init() 18 cache_dir.display(), in test_cache_init() 28 Some(&fs::canonicalize(cache_dir).unwrap()) in test_cache_init() 44 let (_tempdir, cache_dir, config_path) = test_prolog(); in test_write_read_cache() 50 cache_dir in test_write_read_cache() 57 Some(&fs::canonicalize(cache_dir).unwrap()) in test_write_read_cache()
|
| H A D | config.rs | 518 Some(proj_dirs) => self.directory = Some(proj_dirs.cache_dir().to_path_buf()), in validate_directory_or_default() 529 let cache_dir = self.directory.as_ref().unwrap(); in validate_directory_or_default() localVariable 531 if !cache_dir.is_absolute() { in validate_directory_or_default() 534 cache_dir.display(), in validate_directory_or_default() 538 fs::create_dir_all(cache_dir).with_context(|| { in validate_directory_or_default() 539 format!("failed to create cache directory: {}", cache_dir.display()) in validate_directory_or_default() 541 let canonical = fs::canonicalize(cache_dir).with_context(|| { in validate_directory_or_default() 544 cache_dir.display() in validate_directory_or_default()
|
| H A D | lib.rs | 294 let cache_dir = mod_cache_path.parent().unwrap(); in update_data() localVariable 295 fs::create_dir_all(cache_dir) in update_data() 299 cache_dir.display(), in update_data()
|
| /wasmtime-44.0.1/crates/cache/src/config/ |
| H A D | tests.rs | 14 let cache_dir = temp_dir.path().join("cache-dir"); in test_prolog() localVariable 16 (temp_dir, cache_dir, config_path) in test_prolog() 20 ($config_path:ident, $content_fmt:expr, $cache_dir:ident) => {{ 22 let content = format!($content_fmt, cache_dir = $cache_dir.display()); 29 ($config_path:ident, $content_fmt:expr, $cache_dir:ident) => {{ 31 let content = format!($content_fmt, cache_dir = $cache_dir.display());
|
| /wasmtime-44.0.1/ci/ |
| H A D | vendor-wit.sh | 10 cache_dir=$(mktemp -d) 11 trap "rm -rf $cache_dir" EXIT 25 cached_extracted_dir="$cache_dir/$prefix/$repo-$tag"
|
| /wasmtime-44.0.1/docs/ |
| H A D | cli-cache.md | 37 - **default**: look up `cache_dir` in [directories] crate
|