From 439b3b8db97106be44bb5fde9573632c20ed4e95 Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Thu, 9 May 2024 20:22:27 +0100 Subject: refactor(lsp): unify caching into LspCache (#23746) --- cli/cache/deno_dir.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'cli/cache/deno_dir.rs') diff --git a/cli/cache/deno_dir.rs b/cli/cache/deno_dir.rs index b56dfbc89..9f2911f71 100644 --- a/cli/cache/deno_dir.rs +++ b/cli/cache/deno_dir.rs @@ -33,11 +33,10 @@ impl DenoDirProvider { /// `DenoDir` serves as coordinator for multiple `DiskCache`s containing them /// in single directory that can be controlled with `$DENO_DIR` env variable. -#[derive(Clone)] +#[derive(Debug, Clone)] pub struct DenoDir { /// Example: /Users/rld/.deno/ - /// Note: This is not exposed in order to encourage using re-usable methods. - root: PathBuf, + pub root: PathBuf, /// Used by TsCompiler to cache compiler output. pub gen_cache: DiskCache, } -- cgit v1.2.3