§
|<ˆj. ã óø — d Z ddlmZ ddlT ddlmZ ddlmZ ddlmZm Z m
Z
mZmZ ddl
mZ erddlmZ G d „ d
e¦ « Z G d„ de¦ « Z G d
„ de¦ « Z G d„ dee¦ « Z G d„ de¦ « Z G d„ de¦ « Z G d„ de¦ « Z G d„ de¦ « Z G d„ de¦ « Z G d„ de¦ « Z G d„ de¦ « Z G d„ d e¦ « Z G d!„ d"e¦ « Z G d#„ d$e¦ « Z d%S )&zE Module containing all exceptions thrown throughout the git package, é )ÚBadName)Ú*©Úsafe_decode)Úremove_password_if_present)ÚListÚSequenceÚTupleÚUnionÚ
TYPE_CHECKING)ÚPathLike)ÚRepoc ó — e Zd ZdZdS )ÚGitErrorz%Base class for all package exceptionsN©Ú__name__Ú
__module__Ú__qualname__Ú__doc__© ó úY/builddir/build/BUILD/cloudlinux-venv-1.0.12/venv/lib/python3.11/site-packages/git/exc.pyr r s € € € € € Ø/Ð/Ð/Ð/r r c ó — e Zd ZdZdS )ÚInvalidGitRepositoryErrorzAThrown if the given repository appears to have an invalid format.Nr r r r r r s € € € € € ØKÐKÐKÐKr r c ó — e Zd ZdZdS )ÚWorkTreeRepositoryUnsupportedz9Thrown to indicate we can't handle work tree repositoriesNr r r r r r s € € € € € ØCÐCÐCÐCr r c ó — e Zd ZdZdS )ÚNoSuchPathErrorz3Thrown if a path could not be access by the system.Nr r r r r r $ s € € € € € Ø=Ð=Ð=Ð=r r c ó — e Zd ZdZdS )ÚUnsafeProtocolErrorzGThrown if unsafe protocols are passed without being explicitly allowed.Nr r r r r r ( s € € € € € ØQÐQÐQÐQr r c ó — e Zd ZdZdS )ÚUnsafeOptionErrorzEThrown if unsafe options are passed without being explicitly allowed.Nr r r r r" r" , s € € € € € ØOÐOÐOÐOr r" c ó¬ — e Zd ZdZdZ ddeee eedf ef deee de
f deeedf deeedf d df
d
„Zd efd„Z
dS )
ÚCommandErrorzŸBase class for exceptions thrown at every stage of `Popen()` execution.
:param command:
A non-empty list of argv comprising the command-line.
zCmd('%s') failed%sNÚcommand.ÚstatusÚstderrÚstdoutÚreturnc ó — t |t t f¦ « s| ¦ « }t |¦ « | _ || _ |rt |t ¦ « r5t |¦ « j ›dt t |¦ « ¦ « ›d�}nc dt |¦ « z }nO# t t f$ r; t t |¦ « ¦ « }t |t ¦ « rd|z n|}Y nw xY wt | j d ¦ « | _ d d„ | j D ¦ « ¦ « | _ |rd|z pd | _ t |¦ « }t |¦ « }|rd
|z pd| _ |rd|z pd| _ d S )
Nz('z')z
exit code(%s)z'%s'r ú c 3 ó4 K — | ]}t |¦ « V — Œd S ©Nr )Ú.0Úis r ú