MCPcopy Create free account
hub / github.com/FSoft-AI4Code/HyperAgent / LSPFileBuffer

Class LSPFileBuffer

src/hyperagent/multilspy/language_server.py:34–52  ·  view source on GitHub ↗

This class is used to store the contents of an open LSP file in memory.

Source from the content-addressed store, hash-verified

32
33@dataclasses.dataclass
34class LSPFileBuffer:
35 """
36 This class is used to store the contents of an open LSP file in memory.
37 """
38
39 # uri of the file
40 uri: str
41
42 # The contents of the file
43 contents: str
44
45 # The version of the file
46 version: int
47
48 # The language id of the file
49 language_id: str
50
51 # reference count of the file
52 ref_count: int
53
54
55class LanguageServer:

Callers 1

open_fileMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected