Lines Matching refs:mod_cache_path
206 let mod_cache_path = inner.root_path.join(&hash); in get_data_raw() localVariable
207 inner.cache.on_cache_get_async(&mod_cache_path); // call on success in get_data_raw()
214 let mod_cache_path = inner.root_path.join(&hash); in get_data_raw() localVariable
215 inner.cache.on_cache_update_async(&mod_cache_path); // call on success in get_data_raw()
263 let mod_cache_path = self.root_path.join(hash); in get_data() localVariable
264 trace!("get_data() for path: {}", mod_cache_path.display()); in get_data()
265 let compressed_cache_bytes = fs::read(&mod_cache_path).ok()?; in get_data()
273 let mod_cache_path = self.root_path.join(hash); in update_data() localVariable
274 trace!("update_data() for path: {}", mod_cache_path.display()); in update_data()
284 if fs_write_atomic(&mod_cache_path, "mod", &compressed_data).is_ok() { in update_data()
291 mod_cache_path.display(), in update_data()
294 let cache_dir = mod_cache_path.parent().unwrap(); in update_data()
305 match fs_write_atomic(&mod_cache_path, "mod", &compressed_data) { in update_data()
310 mod_cache_path.display(), in update_data()