AlkantarClanX12
Current Path : /opt/cloudlinux/venv/lib64/python3.11/site-packages/git/__pycache__/ |
Current File : //opt/cloudlinux/venv/lib64/python3.11/site-packages/git/__pycache__/db.cpython-311.pyc |
� �܋f� � � � 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 ��W/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/git/db.pyr zGitCmdObjectDB.__init__"