§
    ÎÑßjV  ã                   ó�   — d Z dgZddlZddlmZ ddlmZ ddlmZm	Z	m
Z
mZmZ ddlmZ erdd	lmZ dd
lmZ  G d„ de¦  «        ZdS )zHModule implementing a remote object allowing easy access to git remotes.ÚRemoteReferenceé    N)Ú	join_pathé   )ÚHead)ÚAnyÚIteratorÚNoReturnÚTYPE_CHECKINGÚUnion)ÚPathLike)ÚRemote)ÚRepoc                   óÔ   ‡ — e Zd ZdZej        Ze	 	 ddddee	df         ded         de
d	e
d
ed          fˆ fd„¦   «         Zedddd d	e
d
dfd„¦   «         Zede
d	e
d
efd„¦   «         Zˆ xZS )r   z&A reference pointing to a remote head.NÚrepor   Úcommon_pathÚremote)r   NÚargsÚkwargsÚreturnc                 ó˜   •— |p| j         }|�t          |t          |¦  «        ¦  «        }t          ¦   «                              ||¦  «        S )zLIterate remote references, and if given, constrain them to the given remote.)Ú_common_path_defaultr   ÚstrÚsuperÚ
iter_items)Úclsr   r   r   r   r   Ú	__class__s         €úC/opt/saltstack/salt/lib/python3.11/site-packages/git/refs/remote.pyr   zRemoteReference.iter_items    sI   ø€ ð "Ð= SÔ%=ˆØÐÝ# Kµ°V±´Ñ=Ô=ˆKõ ‰wŒw×!Ò! $¨Ñ4Ô4Ð4ó    Úrefsc                 ó„  — |D ]}|                       |j        ¦  «         Œ |j        j        ddg|¢R Ž  |D ]‰}	 t	          j        |                      |j        |j        ¦  «        ¦  «         n# t          $ r Y nw xY w	 t	          j        |                      |j	        |j        ¦  «        ¦  «         Œz# t          $ r Y Œ†w xY wdS )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)
Ú_check_ref_name_validÚpathÚgitÚbranchÚosÚremoveÚ_get_validated_pathÚ
common_dirÚOSErrorÚgit_dir)r   r   r   r   Úrefs        r   ÚdeletezRemoteReference.delete5   sý   € ð ð 	0ð 	0ˆCØ×%Ò% c¤hÑ/Ô/Ð/Ð/àˆŒŒ˜˜dÐ* TÐ*Ð*Ð*Ð*ð ð 	ð 	ˆCðÝ”	˜#×1Ò1°$´/À3Ä8ÑLÔLÑMÔMÐMÐMøÝð ð ð Ø�ðøøøðÝ”	˜#×1Ò1°$´,ÀÄÑIÔIÑJÔJÐJÐJøÝð ð ð Ø�ðøøøð	ð 	s#   ¹2A,Á,
A9Á8A9Á=2B0Â0
B=Â<B=c                 ó    — t          d¦  «        ‚)zERaise :exc:`TypeError`. Defined so the ``create`` method is disabled.z*Cannot explicitly create remote references)Ú	TypeError)r   r   r   s      r   ÚcreatezRemoteReference.createO   s   € õ ÐDÑEÔEÐEr   )NN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Ú_remote_common_path_defaultr   Úclassmethodr   r   r   r   r   r,   r	   r/   Ú__classcell__)r   s   @r   r   r      s.  ø€ € € € € Ø0Ð0àÔ;Ðàð .2Ø(,ð	5ð 5àð5ð ˜8 T˜>Ô*ð5ð �nÔ%ð	5ð
 ð5ð ð5ð 
Ð#Ô	$ð5ð 5ð 5ð 5ð 5ñ „[ð5ð( ð˜&ð Ð):ð Àcð Èdð ð ð ñ „[ðð2 ðF˜3ð F¨#ð F°(ð Fð Fð Fñ „[ðFð Fð Fð Fð Fr   )r3   Ú__all__r%   Úgit.utilr   Úheadr   Útypingr   r   r	   r
   r   Ú	git.typesr   Ú
git.remoter   Úgit.repor   r   © r   r   ú<module>r?      sì   ðð OÐ NàÐ
€à 	€	€	€	à Ð Ð Ð Ð Ð à Ð Ð Ð Ð Ð ð AÐ @Ð @Ð @Ð @Ð @Ð @Ð @Ð @Ð @Ð @Ð @Ð @Ð @à Ð Ð Ð Ð Ð àð Ø!Ð!Ð!Ð!Ð!Ð!ØÐÐÐÐÐð
7Fð 7Fð 7Fð 7Fð 7F�dñ 7Fô 7Fð 7Fð 7Fð 7Fr   