summaryrefslogtreecommitdiff
path: root/cli/deno_dir.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/deno_dir.rs')
-rw-r--r--cli/deno_dir.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/deno_dir.rs b/cli/deno_dir.rs
index c87ed450c..c0d116a6a 100644
--- a/cli/deno_dir.rs
+++ b/cli/deno_dir.rs
@@ -64,6 +64,12 @@ impl DenoDir {
self.root.join("dep_analysis_cache_v1")
}
+ /// Path for caching node analysis.
+ pub fn node_analysis_db_file_path(&self) -> PathBuf {
+ // bump this version name to invalidate the entire cache
+ self.root.join("node_analysis_cache_v1")
+ }
+
/// Path for the cache used for type checking.
pub fn type_checking_cache_db_file_path(&self) -> PathBuf {
// bump this version name to invalidate the entire cache