diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-10-25 18:13:22 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-25 18:13:22 -0400 |
commit | 842e29057d6e545c6b498c584a5366fff34f6aa7 (patch) | |
tree | aba1bb9d767945ba72be5f11c5c87027f65c5678 /cli/cache/caches.rs | |
parent | 79a9f2a77c1c517282a0e3ac77f8a1252b6c50b9 (diff) |
refactor: break out ModuleInfoCache from ParsedSourceCache (#20977)
As title. This will help use the two independently from the other, which
will help in an upcoming deno doc PR where I need to parse the source
files with scope analysis.
Diffstat (limited to 'cli/cache/caches.rs')
-rw-r--r-- | cli/cache/caches.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/cache/caches.rs b/cli/cache/caches.rs index f630a82ff..b91c81a15 100644 --- a/cli/cache/caches.rs +++ b/cli/cache/caches.rs @@ -10,8 +10,8 @@ use super::cache_db::CacheDBConfiguration; use super::check::TYPE_CHECK_CACHE_DB; use super::deno_dir::DenoDirProvider; use super::incremental::INCREMENTAL_CACHE_DB; +use super::module_info::MODULE_INFO_CACHE_DB; use super::node::NODE_ANALYSIS_CACHE_DB; -use super::parsed_source::PARSED_SOURCE_CACHE_DB; pub struct Caches { dir_provider: Arc<DenoDirProvider>, @@ -77,7 +77,7 @@ impl Caches { pub fn dep_analysis_db(&self) -> CacheDB { Self::make_db( &self.dep_analysis_db, - &PARSED_SOURCE_CACHE_DB, + &MODULE_INFO_CACHE_DB, self .dir_provider .get_or_create() |