Ë
    ùmxiö
  ã                   óˆ   — 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         €úF/home/htdocs/ttos/venv/lib/python3.12/site-packages/git/refs/remote.pyr   zRemoteReference.iter_items    s?   ø€ ð "Ò= S×%=Ñ%=ˆØÐÜ# K´°V³Ó=ˆKô ‰wÑ! $¨Ó4Ð4ó    Úrefsc                 óª  —  |j                   j                  ddg|¢­Ž  |D ]’  }	 t        j                  t        j                  j                  |j                  |j                  «      «       	 t        j                  t        j                  j                  |j                  |j                  «      «       Œ” y# t        $ r Y ŒVw 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)	ÚgitÚbranchÚosÚremoveÚpathÚjoinÚ
common_dirÚOSErrorÚgit_dir)r   r   r   r   Úrefs        r   ÚdeletezRemoteReference.delete5   s¥   € ð 	ˆ�‰�‰˜˜dÐ* TÓ*ð ò 	ˆCðÜ—	‘	œ"Ÿ'™'Ÿ,™, t§¡¸¿¹ÓAÔBðÜ—	‘	œ"Ÿ'™'Ÿ,™, t§|¡|°S·X±XÓ>Õ?ñ	øô ò Ùðûô ò Ùðús%   ¥AB7Á-ACÂ7	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.createL   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ò ó ðð, ðF˜3ð F¨#ð F°(ò Fó ôFr   )r2   Ú__all__r#   Úgit.utilr   Úheadr   Útypingr   r   r	   r
   r   Ú	git.typesr   Ú
git.remoter   Úgit.repor   r   © r   r   ú<module>r>      s?   ðñ OàÐ
€ã 	å å ÷ AÕ @å áÝ!Ýô
4F�dõ 4Fr   