refactor: rewrite HTTP cache for file fetcher (#4030)

This commit is contained in:
Bartek Iwańczuk 2020-02-19 08:17:13 -05:00 committed by GitHub
parent 046bbb2691
commit 852823fa50
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 428 additions and 600 deletions

View file

@ -33,6 +33,7 @@ pub mod fmt_errors;
mod fs;
mod global_state;
mod global_timer;
pub mod http_cache;
mod http_util;
mod import_map;
pub mod installer;
@ -132,7 +133,7 @@ fn print_cache_info(state: &GlobalState) {
println!(
"{} {:?}",
colors::bold("Remote modules cache:".to_string()),
state.dir.deps_cache.location
state.file_fetcher.http_cache.location
);
println!(
"{} {:?}",