X7ROOT File Manager
Current Path:
/opt/cloudlinux/venv/lib/python3.11/site-packages/virtualenv/app_data
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
virtualenv
/
app_data
/
ðŸ“
..
📄
__init__.py
(1.38 KB)
ðŸ“
__pycache__
📄
base.py
(2.03 KB)
📄
na.py
(1.42 KB)
📄
read_only.py
(1.01 KB)
📄
via_disk_folder.py
(5.32 KB)
📄
via_tempdir.py
(744 B)
Editing: via_tempdir.py
import logging from tempfile import mkdtemp from virtualenv.util.path import safe_delete from .via_disk_folder import AppDataDiskFolder class TempAppData(AppDataDiskFolder): transient = True can_update = False def __init__(self): super().__init__(folder=mkdtemp()) logging.debug("created temporary app data folder %s", self.lock.path) def reset(self): """this is a temporary folder, is already empty to start with""" def close(self): logging.debug("remove temporary app data folder %s", self.lock.path) safe_delete(self.lock.path) def embed_update_log(self, distribution, for_py_version): # noqa: U100 raise NotImplementedError __all__ = [ "TempAppData", ]
Upload File
Create Folder