| Server IP : 93.115.150.27 / Your IP : 216.73.216.221 Web Server : LiteSpeed System : Linux host2.azar.host 4.18.0-553.80.1.lve.el8.x86_64 #1 SMP Wed Oct 22 19:29:36 UTC 2025 x86_64 User : dorfakkh ( 1797) PHP Version : 8.1.34 Disable Function : show_source, system, passthru, exec, popen, proc_open, mail MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/cloudlinux/venv/lib/python3.11/site-packages/git/__pycache__/ |
Upload File : |
�
�|oi� � � � d Z ddlmZmZ ddlmZmZ ddlmZ ddlm Z ddl
mZ ddlm
Z
ddlmZ dd lmZ erdd
lmZ dZ G d� d
e � � ZdS )zBModule with our own gitdb implementation - it uses the git command� )�
bin_to_hex�
hex_to_bin)�OInfo�OStream)�GitDB)�
LooseObjectDB)� BadObject)�GitCommandError)�
TYPE_CHECKING)�PathLike)�Git)�GitCmdObjectDBr c �` � � e Zd ZdZdeddddf� fd�Zdedefd �Zdede fd
�Z
dedefd�Z� xZ
S )
r a= A database representing the default git object store, which includes loose
objects, pack files and an alternates file
It will create objects only in the loose object database.
:note: for now, we use the git command to do all the lookup, just until he
have packs and the other implementations
� root_path�gitr
�returnNc �f �� t t | � � � |� � || _ dS )z8Initialize this instance with the root and a git commandN)�superr �__init__�_git)�selfr r � __class__s ��X/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/git/db.pyr zGitCmdObjectDB.__init__"