§ |<ˆj&ãóÀ—ddlmZmZddlmZmZddlmZmZm Z m Z m Z m Z ddl mZmZmZe rddlmZdgZded efd ed effd „ZGd „deee¦«Zd S)é)Ú LazyMixinÚ IterableObjé)ÚSymbolicReferenceÚ T_References)ÚAnyÚCallableÚIteratorÚTypeÚUnionÚ TYPE_CHECKING)Ú Commit_ishÚPathLikeÚ_T)ÚRepoÚ ReferenceÚfunc.ÚreturncóV‡—dtdtdtfˆfd„ }‰j|_|S)zOA decorator raising a TypeError if we are not a valid remote, based on the pathÚselfÚargsrcól•—| ¦«std|jz¦«‚‰|g|¢RŽS)Nz1ref path does not point to a remote reference: %s)Ú is_remoteÚ ValueErrorÚpath)rrrs €úd/builddir/build/BUILD/cloudlinux-venv-1.0.12/venv/lib/python3.11/site-packages/git/refs/reference.pyÚwrapperz(require_remote_ref_path..wrappersFø€Ø�~Š~ÑÔð ^ÝÐPÐSWÔS\Ñ\Ñ]Ô]Ð ]؈t�DÐ ˜4Ð Ð Ð Ð ó)rrrÚ__name__)rrs` rÚrequire_remote_ref_pathr sGø€ð!•lð!­3ð!µ2ð!ð!ð!ð!ð!ð!ð ”}€GÔØ €Nrcó`‡—eZdZdZdZdZdZdZdddded e d d fˆfd „ Z d e fd „Z dde ede fde e d fd dfˆfd„ Zed e fd„¦«Ze ddeeddde ed fdeded eef d„¦«Zeed e fd„¦«¦«Zeed e fd„¦«¦«ZˆxZS)rzRepresents a named reference to any object. Subclasses may apply restrictions though, i.e. Heads can only point to commits.©FTÚrefsÚreporrÚ check_pathrNcóô•—|rIt|¦« |jdz¦«std|jj›d|›�¦«‚|t t|¦« ||¦«dS)abInitialize this instance :param repo: Our parent repository :param path: Path relative to the .git/ directory pointing to the ref in question, i.e. refs/heads/master :param check_path: if False, you can provide any path. Otherwise the path must start with the default path prefix of this type.ú/zCannot instantiate z from path N) ÚstrÚ startswithÚ_common_path_defaultrÚ __class__rÚsuperrÚ__init__)rr$rr%r+s €rr-zReference.__init__2s‚ø€ð ð a�c $™iœi×2Ò2°4Ô3LÈsÑ3RÑSÔSð aÝÐ_°4´>Ô3JÐ_Ð_ÐY]Ð_Ð_Ñ`Ô`Ð `Ø ˆÝ �i˜ÑÔ×'Ò'¨¨dÑ3Ô3Ð3Ð3Ð3rcó—|jS©N)Úname)rs rÚ__str__zReference.__str__@s €ØŒyÐrÚobjectrÚlogmsgcóú•—d}|�*|jj}|js|j|kr |jj}t t|¦« ||¦«|� |jj  ||¦«|S)z[Special version which checks if the head-log needs an update as well :return: selfN) r$ÚheadÚ is_detachedÚrefÚcommitÚbinshar,rÚ set_objectÚ log_append)rr2r3Ú oldbinshar5r+s €rr:zReference.set_objectFs…ø€ðˆ Ø Ð Ø”9”>ˆDØÔ#ð /¨¬°DÒ(8Ð(8Ø œKÔ.� õ �i˜ÑÔ×)Ò)¨&°&Ñ9Ô9Ð9à Ð ð ŒIŒN× %Ò % i°Ñ 8Ô 8Ð 8ðˆ rcó¤—|j d¦«}t|¦«dkr|jSd |dd…¦«S)zK:return: (shortest) Name of this reference - it may contain path componentsr'ééN)rÚsplitÚlenÚjoin©rÚtokenss rr0zReference.namelsH€ð ”—’ Ñ%Ô%ˆÝ ˆv‰;Œ;˜Š?ˆ?Ø”9Ð Ø�xŠx˜˜q˜r˜rœ Ñ#Ô#Ð#rÚclsÚ common_pathrÚkwargscó.—| ||¦«S)zdEquivalent to SymbolicReference.iter_items, but will return non-detached references as well.)Ú _iter_items)rEr$rFrrGs rÚ iter_itemszReference.iter_itemsvs€ð�Š˜t [Ñ1Ô1Ð1rcóF—|j d¦«}|dS)zŠ :return: Name of the remote we are a reference of, such as 'origin' for a reference named 'origin/master'r'r?)rr@rCs rÚ remote_namezReference.remote_name†s!€ð”—’ Ñ%Ô%ˆà�aŒyÐrcóp—|j d¦«}d |dd…¦«S)z :return: Name of the remote head itself, i.e. master. :note: The returned name is usually not qualified enough to uniquely identify a branchr'r>N)rr@rBrCs rÚ remote_headzReference.remote_head‘s1€ð ”—’ Ñ%Ô%ˆØ�xŠx˜˜q˜r˜rœ Ñ#Ô#Ð#r)Tr/)rÚ __module__Ú __qualname__Ú__doc__Ú __slots__Ú_points_to_commits_onlyÚ_resolve_ref_on_creater*rÚboolr-r(r1r rr:Úpropertyr0Ú classmethodr rrr rJr rLrNÚ __classcell__)r+s@rrr(søø€€€€€ð-ð-ð€IØ#ÐØ!ÐØ!Ðð 4ð 4˜Vð 4¨8ð 4Àð 4ÐQUð 4ð 4ð 4ð 4ð 4ð 4ð˜ððððð$(ð"ð"à�jÐ"5°sÐ:Ô;ð"ð�c˜4�iÔ ð"ð ð "ð"ð"ð"ð"ð"ðLð$�cð$ð$ð$ñ„Xð$ðð.2ð 2ð 2Ø �,Ô ð 2àð 2ð˜8 T˜>Ô*ð 2ðð 2ð ð 2ð �,Ô ð 2ð 2ð 2ñ„[ð 2ðØð˜SðððñÔñ„XððØð$˜Sð$ð$ð$ñÔñ„Xð$ð$ð$ð$ð$rN)Úgit.utilrrÚsymbolicrrÚtypingrr r r r r Ú git.typesrrrÚgit.reporÚ__all__r rr"rrúr_s2ðððððððððð6Ð5Ð5Ð5Ð5Ð5Ð5Ð5ð GÐFÐFÐFÐFÐFÐFÐFÐFÐFÐFÐFÐFÐFÐFÐFØ.Ð.Ð.Ð.Ð.Ð.Ð.Ð.Ð.Ð.àðØÐÐÐÐÐð ˆ-€ð  (¨3°¨7Ô"3ð ¸ÀÀbÀÔ8Ið ð ð ð ð p$ðp$ðp$ðp$ðp$Ð! 9¨kñp$ôp$ðp$ðp$ðp$r