HEX
Server: LiteSpeed
System: Linux s787.bom1.mysecurecloudhost.com 4.18.0-477.13.1.lve.el8.x86_64 #1 SMP Thu Jun 1 16:40:47 EDT 2023 x86_64
User: mobilech (5348)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: //opt/saltstack/salt/lib/python3.10/site-packages/git/__pycache__/__init__.cpython-310.pyc
o

;j�"�
@s�gd�ZdZddlmZmZmZmZmZmZm	Z	er ddl
mZddlZddl
mZddlmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZm Z m!Z!m"Z"m#Z#m$Z$m%Z%ddl&m'Z'z�dd	l(m)Z)dd
l*m+Z+ddl,m-Z-m.Z.m/Z/m0Z0m1Z1m2Z2m3Z3m4Z4m5Z5m6Z6m7Z7ddl8m9Z9m:Z:m;Z;m<Z<m=Z=m>Z>m?Z?m@Z@mAZAdd
lBmCZCmDZDmEZEmFZFmGZGmHZHddlImJZJmKZKddlLmMZMddlNmOZOddlPmQZQmRZRmSZSmTZTddlUmVZVmWZWmZmXZXmYZYmZZZm[Z[ddl\m]Z]m^Z^m_Z_m`Z`maZambZbWne�yZczeddecjejfecf�ec�dZc[cwwdegdegddfdd�Zhdegdefdd�Zie�s#[[eiZjdakd"dee'ddfdd �Zlzel�WdSem�yLZczedd!�nec��ec�dZc[cww)#)N�Actor�AmbiguousObjectName�BadName�	BadObject�
BadObjectType�BaseIndexEntry�Blob�
BlobFilter�BlockingLockFile�
CacheError�
CheckoutError�CommandError�Commit�Diff�
DiffConstants�	DiffIndex�Diffable�	FetchInfo�Git�GitCmdObjectDB�GitCommandError�GitCommandNotFound�GitConfigParser�GitDB�GitError�HEAD�Head�HookExecutionError�INDEX�
IndexEntry�	IndexFile�IndexObject�
InvalidDBRoot�InvalidGitRepositoryError�List�LockFile�	NULL_TREE�NoSuchPathError�ODBError�Object�Optional�
ParseError�PathLike�PushInfo�RefLog�RefLogEntry�	Reference�Remote�RemoteProgress�RemoteReference�Repo�RepositoryDirtyError�
RootModule�RootUpdateProgress�Sequence�	StageType�Stats�	Submodule�SymbolicReference�
TYPE_CHECKING�Tag�	TagObject�TagReference�Tree�TreeModifier�Tuple�Union�UnmergedEntriesError�UnsafeOptionError�UnsafeProtocolError�UnsupportedOperation�UpdateProgress�WorkTreeRepositoryUnsupported�refresh�remove_password_if_present�rmtree�safe_decode�
to_hex_shaz3.1.50�)�Anyr#r)r7r<rBrC)�
ModuleTypeN)rN)rrrrr
rrrrrrr!r"r&r'r*r4rDrErFrGrI)r+)rM)r)rr
r r(r5r6r:r>r@rArH)	rrr-r.r/r2r;r=r?)rr%rrrr)rr)r)r3)rr,r0r1)rrrrrr8�util)rr	r$r9rKrLz%s: %s�message�fullname�returnrQcCs"ddl}tj|tdd�|�|�S)NrO�)�
stacklevel)�	importlib�warnings�warn�DeprecationWarning�
import_module)rSrTrX�r]�@/opt/saltstack/salt/lib/python3.10/site-packages/git/__init__.py�_warned_import�s
r_�namec
Cs�|dkr
tddd�Shd�dfhd�dffD]#\}}||vrq|�d	|��}tt�d	|�d
|�d|�d�|d�Std
t�d|����)NrRaOThe expression `git.util` and the import `from git import util` actually reference git.index.util, and not the git.util module accessed in `from git.util import XYZ` or `sys.modules["git.util"]`. This potentially confusing behavior is currently preserved for compatibility, but may be changed in the future and should not be relied on.zgit.index.util)rT>Z	reference�logZsymbolic�tag�headzgit.refs>�base�typZfunz	git.index�.z is a private alias of z' and subject to immediate removal. Use z	 instead.zmodule z has no attribute )r_�__name__�AttributeError)r`�names�prefixrTr]r]r^�_getattr�s$�


��
�rk�pathcCs(datj|d�s
dSt��sdSdadS)a�Convenience method for setting the git executable path.

    :param path:
        Optional path to the Git executable. If not absolute, it is resolved
        immediately, relative to the current directory.

    :note:
        The `path` parameter is usually omitted and cannot be used to specify a custom
        command whose location is looked up in a path search on each call. See
        :meth:`Git.refresh <git.cmd.Git.refresh>` for details on how to achieve this.

    :note:
        This calls :meth:`Git.refresh <git.cmd.Git.refresh>` and sets other global
        configuration according to the effect of doing so. As such, this function should
        usually be used instead of using :meth:`Git.refresh <git.cmd.Git.refresh>` or
        :meth:`FetchInfo.refresh <git.remote.FetchInfo.refresh>` directly.

    :note:
        This function is called automatically, with no arguments, at import time.
    F�rlNT)�GIT_OKrrJrrmr]r]r^rJsrJzFailed to initialize: {0})N)o�__all__�__version__�typingrPr#r)r7r<rBrC�typesrQrYZ
gitdb.utilrNZgit.excrrrrr
rrrrrrr!r"r&r'r*r4rDrErFrGrIZ	git.typesr+Z
git.compatrMZ
git.configrZgit.objectsrr
r r(r5r6r:r>r@rArHZgit.refsrrr-r.r/r2r;r=r?Zgit.diffrr%rrrrZgit.dbrrZgit.cmdrZgit.repor3Z
git.remoterr,r0r1Z	git.indexrrrrr8rRZgit.utilrr	r$r9rKrLZ_exc�ImportError�	__class__rg�strr_rk�__getattr__rnrJ�	Exception�formatr]r]r]r^�<module>sLQ$`4,
 $$�� ��