X7ROOT File Manager
Current Path:
/opt/cloudlinux/venv/lib/python3.11/site-packages/git/objects
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
git
/
objects
/
??
..
??
__init__.py
(692 B)
??
__pycache__
??
base.py
(7.67 KB)
??
blob.py
(986 B)
??
commit.py
(28.42 KB)
??
fun.py
(8.41 KB)
??
submodule
??
tag.py
(3.75 KB)
??
tree.py
(13.9 KB)
??
util.py
(21.75 KB)
Editing: __init__.py
""" Import all submodules main classes into the package space """ # flake8: noqa import inspect from .base import * from .blob import * from .commit import * from .submodule import util as smutil from .submodule.base import * from .submodule.root import * from .tag import * from .tree import * # Fix import dependency - add IndexObject to the util module, so that it can be # imported by the submodule.base smutil.IndexObject = IndexObject # type: ignore[attr-defined] smutil.Object = Object # type: ignore[attr-defined] del smutil # must come after submodule was made available __all__ = [name for name, obj in locals().items() if not (name.startswith("_") or inspect.ismodule(obj))]
Upload File
Create Folder