mirror of
https://github.com/tiennm99/serena.git
synced 2026-08-09 16:25:11 +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:
@@ -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