PHP 8.2.30
Preview: __init__.py Size: 692 B
/opt/cloudlinux/venv/lib/python3.11/site-packages/git/objects/__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))]

Directory Contents

Dirs: 2 × Files: 8

Name Size Perms Modified Actions
submodule DIR
- drwxr-xr-x 2026-02-06 08:01:08
Edit Download
- drwxr-xr-x 2026-02-06 08:01:08
Edit Download
7.67 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
986 B lrw-r--r-- 2026-01-20 13:01:48
Edit Download
28.42 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
8.41 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
3.75 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
13.90 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
21.75 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
692 B lrw-r--r-- 2026-01-20 13:01:48
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).