Ë
    (êñiV  ã                   óˆ   — 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y)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                 ór   •— |xs | 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         €úQ/var/www/pod-logistic/pod-ai/venv/lib/python3.12/site-packages/git/refs/remote.pyr   zRemoteReference.iter_items    s?   ø€ ð "Ò= S×%=Ñ%=ˆØÐÜ# K´°V³Ó=ˆKô ‰wÑ! $¨Ó4Ð4ó    Úrefsc                 ó¶  — |D ]  }| j                  |j                  «       Œ  |j                  j                  ddg|¢­Ž  |D ]v  }	 t	        j
                  | j                  |j                  |j                  «      «       	 t	        j
                  | j                  |j                  |j                  «      «       Œx y# t        $ r Y ŒHw xY w# t        $ r Y Œ”w xY w)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ˆCØ×%Ñ% c§h¡hÕ/ð	0ð 	ˆ�‰�‰˜˜dÐ* TÓ*ð ò 	ˆCðÜ—	‘	˜#×1Ñ1°$·/±/À3Ç8Á8ÓLÔMðÜ—	‘	˜#×1Ñ1°$·,±,ÀÇÁÓIÕJñ	øô ò Ùðûô ò Ùðús$   Á9B=Â9CÂ=	C	ÃC	Ã	CÃC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Ð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à×;Ñ;Ðàð .2Ø(,ñ	5àð5ð ˜8 T˜>Ñ*ð5ð �nÑ%ð	5ð
 ð5ð ð5ð 
Ð#Ñ	$ô5ó ð5ð( ð˜&ð Ð):ð Àcð Èdò ó ðð2 ðF˜3ð 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àÐ
€ã 	å å ÷ AÕ @å áÝ!Ýô
7F�dõ 7Fr   