INNER CODE UNIT · Python
FileContentRequest
Marven11/EtherGhost · ether_ghost/main.py:61
class FileContentRequest(BaseModel):
current_dir: str
filename: str
text: str
encoding: str
class PhpCodeRequest(BaseModel):
code: str
temp_dir = Path(tempfile.gettempdir())
temp_files: t.Dict[UUID, t.Tuple[str, Path]] = {}
# TODO: 启动时同时启动所有需要启动的connector