Your IP : 3.146.65.187
�
��bg� ���ddlZddlmZddlmZdgZddlmZmZm Z m
Z
mZddlm
Z
erddlmZdd lmZGd
�de��ZdS)�N)� join_path�)�Head�RemoteReference)�Any�Iterator�NoReturn�Union�
TYPE_CHECKING)�PathLike)�Repo)�Remotec����eZdZdZejZe ddddee dfdedde
d e
d
edf�fd�
��Zeddddd e
d
dfd
���Z
ede
d e
d
efd���Z�xZS)rz1Represents a reference pointing to a remote head.N�repor
�common_path�remote)rN�args�kwargs�returnc���|p|j}|�t|t|����}tt|���||��S)zKIterate remote references, and if given, constrain them to the given remote)�_common_path_defaultr�str�superr�
iter_items)�clsrrrrr� __class__s ��`/builddir/build/BUILD/cloudlinux-venv-1.0.7/venv/lib/python3.11/site-packages/git/refs/remote.pyrzRemoteReference.iter_itemssO���"�=�S�%=����#�K��V���=�=�K��_�c�*�*�5�5�d�K�H�H�H��refsc�n�|jjddg|�R�|D]�} tjtj�|j|j����n#t$rYnwxYw tjtj�|j|j������#t$rY��wxYwdS)z�Delete the given remote references
:note:
kwargs are given for comparability with the base class method as we
should not narrow the signature.z-dz-rN) �git�branch�os�remove�path�join�
common_dir�OSError�git_dir)rrrr�refs r�deletezRemoteReference.delete2s��� �����d�*�T�*�*�*�*�� � �C�
�� �"�'�,�,�t����A�A�B�B�B�B���
�
�
���
����
�� �"�'�,�,�t�|�S�X�>�>�?�?�?�?���
�
�
���
���� � s#�<A�
A$�#A$�(<B%�%
B2�1B2c� �td���)zUsed to disable this methodz*Cannot explicitly create remote references)� TypeError)rrrs r�createzRemoteReference.createHs���D�E�E�Er)NN)�__name__�
__module__�__qualname__�__doc__r�_remote_common_path_defaultr�classmethodr
rrrrr+r r.�
__classcell__)rs@rrrs;�������;�;��;���.2�(,� I�I��I��8�T�>�*�I��n�%� I�
�I��
I�
�#� $�I�I�I�I�I��[�I�(��&��):��c��d�����[��*�F�3�F�#�F�(�F�F�F��[�F�F�F�F�Fr)r#�git.utilr�headr�__all__�typingrrr r
r� git.typesr�git.repor
r!rr�rr�<module>r=s��� � � � ��������������
��A�@�@�@�@�@�@�@�@�@�@�@�@�@���������������������
4F�4F�4F�4F�4F�d�4F�4F�4F�4F�4Fr
?>