PHP 8.2.30
Preview: __init__.py Size: 972 B
/opt/cloudlinux/venv/lib/python3.11/site-packages/gitdb/__init__.py

# Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
#
# This module is part of GitDB and is released under
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
"""Initialize the object database module"""

import sys
import os

#{ Initialization


def _init_externals():
    """Initialize external projects by putting them into the path"""
    if 'PYOXIDIZER' not in os.environ:
        where = os.path.join(os.path.dirname(__file__), 'ext', 'smmap')
        if os.path.exists(where):
            sys.path.append(where)

    import smmap
    del smmap
    # END handle imports

#} END initialization

_init_externals()

__author__ = "Sebastian Thiel"
__contact__ = "byronimo@gmail.com"
__homepage__ = "https://github.com/gitpython-developers/gitdb"
version_info = (4, 0, 10)
__version__ = '.'.join(str(i) for i in version_info)


# default imports
from gitdb.base import *
from gitdb.db import *
from gitdb.stream import *

Directory Contents

Dirs: 4 × Files: 9

Name Size Perms Modified Actions
db DIR
- drwxr-xr-x 2026-02-06 08:01:08
Edit Download
test DIR
- drwxr-xr-x 2026-02-06 08:01:08
Edit Download
utils DIR
- drwxr-xr-x 2026-02-06 08:01:08
Edit Download
- drwxr-xr-x 2026-02-06 08:01:08
Edit Download
7.84 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
90 B lrw-r--r-- 2026-01-20 13:01:48
Edit Download
1.28 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
22.70 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
38.33 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
26.87 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
379 B lrw-r--r-- 2026-01-20 13:01:48
Edit Download
12.02 KB lrw-r--r-- 2026-01-20 13:01:48
Edit Download
972 B lrw-r--r-- 2026-01-20 13:01:48
Edit Download

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