diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-02-19 08:17:13 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-19 08:17:13 -0500 |
commit | 852823fa505d75d61e70e1330bbf366aa248e650 (patch) | |
tree | 371f39e954c6b8169ed9fd1f96d022e13e185aa8 /cli/deno_dir.rs | |
parent | 046bbb26913f9da58b0d23ae331e9dab9dc19e59 (diff) |
refactor: rewrite HTTP cache for file fetcher (#4030)
Diffstat (limited to 'cli/deno_dir.rs')
-rw-r--r-- | cli/deno_dir.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/cli/deno_dir.rs b/cli/deno_dir.rs index cac9c3739..44f97abbd 100644 --- a/cli/deno_dir.rs +++ b/cli/deno_dir.rs @@ -10,8 +10,6 @@ use std::path::PathBuf; pub struct DenoDir { // Example: /Users/rld/.deno/ pub root: PathBuf, - /// Used by SourceFileFetcher to cache remote modules. - pub deps_cache: DiskCache, /// Used by TsCompiler to cache compiler output. pub gen_cache: DiskCache, } @@ -29,12 +27,10 @@ impl DenoDir { .unwrap_or(fallback); let root: PathBuf = custom_root.unwrap_or(default); - let deps_path = root.join("deps"); let gen_path = root.join("gen"); let deno_dir = Self { root, - deps_cache: DiskCache::new(&deps_path), gen_cache: DiskCache::new(&gen_path), }; |