mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-12 22:14:54 +00:00
LS: make cache path language dependent
This means existing cache files will no longer be used, they have to be moved or deleted
This commit is contained in:
1 parent
afea349d67
commit
4bd8ab83ad
1 file changed
+1
-1
@@ -1596,7 +1596,7 @@ class LanguageServer:
|
||||
|
||||
@property
|
||||
def _cache_path(self) -> Path:
|
||||
return Path(self.repository_root_path) / ".serena" / "cache" / "document_symbols_cache_v20-05-25.pkl"
|
||||
return Path(self.repository_root_path) / ".serena" / "cache" / self.language_id / "document_symbols_cache_v20-05-25.pkl"
|
||||
|
||||
def save_cache(self):
|
||||
with self._cache_lock:
|
||||
|
||||
Reference in new issue
Block a user