File: //proc/self/root/opt/saltstack/salt/lib/python3.10/site-packages/git/__pycache__/db.cpython-310.pyc
o
;j@ � @ s� d Z ddgZddlmZmZ ddlmZmZ ddlm Z ddl
mZmZ ddl
mZ dd lmZ dd
lmZ er>ddlmZ G dd� de�Zd
S )zCModule with our own gitdb implementation - it uses the git command.�GitCmdObjectDB�GitDB� )�OInfo�OStream)r �
LooseObjectDB)� BadObject)�
bin_to_hex�
hex_to_bin)�GitCommandError)�
TYPE_CHECKING)�PathLike)�Gitc sd e Zd ZdZdeddddf� fdd�Zd edefd
d�Zd ede fdd
�Z
dedefdd�Z� Z
S )r z�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.
� root_path�gitr
�returnNc s t � �|� || _dS )z9Initialize this instance with the root and a git command.N)�super�__init__�_git)�selfr r �� __class__� �:/opt/saltstack/salt/lib/python3.10/site-packages/git/db.pyr "