mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-07 02:16:08 +00:00
LSPFileBuffer: Ensure that file contents are never stale by monitoring file modification date
For every read access on .contents, check for external file modification and re-read if necessary, invalidating the content hash as well. Fixes #1013
This commit is contained in:
1 parent
be155a348e
commit
37965666be
4 files changed
+82
-9
No files matched your search
@@ -16,7 +16,7 @@ from solidlsp.ls_config import Language
|
||||
|
||||
|
||||
@pytest.mark.python
|
||||
class TestLanguageServerBasics:
|
||||
class TestPythonLanguageServerBasics:
|
||||
"""Test basic functionality of the language server."""
|
||||
|
||||
@pytest.mark.parametrize("language_server", [Language.PYTHON], indirect=True)
|
||||
|
||||
Reference in new issue
Block a user