/opt/cloudlinux/venv/lib/python3.11/site-packages/git/refs/__pycache__
NameSizeModeActions
head.cpython-311.pyc126100644editdlrm
log.cpython-311.pyc170700644editdlrm
reference.cpython-311.pyc64920644editdlrm
remote.cpython-311.pyc34200644editdlrm
symbolic.cpython-311.pyc363330644editdlrm
tag.cpython-311.pyc51990644editdlrm
__init__.cpython-311.pyc3780644editdlrm
Edit: /opt/cloudlinux/venv/lib/python3.11/site-packages/git/refs/__pycache__/symbolic.cpython-311.pyc (36333B)
§ ¯¿Ùr%"E…ãób—ddlmZddlZddlmZddlmZddlmZddl m Z m Z m Z m Z mZmZddlmZmZdd lmZdd lmZmZmZmZmZmZmZmZmZdd lmZmZer$dd l m!Z!dd l"m#Z#m$Z$m%Z%m&Z&ddlm'Z'ddl(m)Z)ddlm*Z*edd¬¦«Z+dgZ,dddeedfdefd„Z-Gd„de.¦«Z/dS)é)ÚPathLikeN)Údefenc)ÚObject)ÚCommit)Ú join_pathÚjoin_path_nativeÚto_native_path_linuxÚassure_directory_existsÚ hex_to_binÚLockedFD)Ú BadObjectÚBadNameé)ÚRefLog) ÚAnyÚIteratorÚListÚTupleÚTypeÚTypeVarÚUnionÚ TYPE_CHECKINGÚcast)Ú Commit_ishr)ÚRepo©ÚHeadÚ TagReferenceÚRemoteReferenceÚ Reference)Ú RefLogEntry)ÚGitConfigParser)ÚActorÚ T_ReferencesÚSymbolicReference)ÚboundÚreporÚpathÚreturncó,—|›}|dvr|jS|jS)z0Find the git dir that's appropriate for the path)ÚHEADÚ ORIG_HEADÚ FETCH_HEADÚindexÚlogs)Úgit_dirÚ common_dir)r'r(Únames úc/builddir/build/BUILD/cloudlinux-venv-1.0.12/venv/lib/python3.11/site-packages/git/refs/symbolic.pyÚ_git_dirr42s%€àˆ9€DØ ÐCÐCÐCØŒ|ÐØ Œ?Ðócóø—eZdZUdZdZdZdZdZdZdZ dJdd d e d e fd „Z d e fd„Zd e fd„Zded e fd„Zded e fd„Zd efd„Zed e fd„¦«Zed e fd„¦«Zedd d e fd„¦«Zedd d eee e ffd„¦«Zedd dee dfd e fd„¦«Zedd dee dfd eee dfede fffd„¦«Zedd dee dfd eee dfede fffd„¦«Z d e!fd„Z"dKd„Z# dLd ee$de fd!ee dfd dfd"„Z% dLd#ee!de fd!ee dfd dfd$„Z&ee#e%d%¬&¦«Z'ee"e&d'¬&¦«ZdMd(„Z( dLd)ee!de fd!ee dfd dfd*„Z)ed+e*d,<ee(e)d-¬&¦«Z+e+Z,d e fd.„Z-ed e fd/„¦«Z.dNd1„Z/ dLd2e0d3ee dfd4ee0dfd d5fd6„Z1d7ed d5fd8„Z2ed ee dfd e fd9„¦«Z3edd d e d dfd:„¦«Z4e dLd;e5e6dd d e d„¦«Z7e dOd;e5e6dd d e d,ede fd!ee dfd=e d@e8d e6fdA„¦«Z9dJdBe d=e d dfdC„Z:e dLd;e5e6dd dDee dfd ee6fdE„¦«Z;e dLd;e5e6dd dDee dfdFe8d@e8d ee6f dG„¦«ZdS)Pr%zíRepresents a special case of a reference such that this reference is symbolic. It does not point to a specific commit, but to another Head, which itself specifies a commit. A typical example for a symbolic reference is HEAD.©r'r(FTÚz refs/remotesr2r'rr(Ú check_pathcó"—||_||_dS©Nr7)Úselfr'r(r9s r3Ú__init__zSymbolicReference.__init__Is€ØˆŒ ؈Œ ˆ ˆ r5r)có*—t|j¦«Sr;©Ústrr(©r<s r3Ú__str__zSymbolicReference.__str__Ms€Ý�4”9‰~Œ~Ðr5có2—d|jj›d|j›d�S)Nz)Ú __class__Ú__name__r(rAs r3Ú__repr__zSymbolicReference.__repr__Ps €€Ø"&¤.Ô"9Ð"9Ð"9¸4¼9¸9¸9ÐEÐEr5Úothercóp—t|d¦«r%tt|¦«}|j|jkSdS)Nr(F)Úhasattrrr%r(©r<rGs r3Ú__eq__zSymbolicReference.__eq__Ss8€Ý �5˜&Ñ !Ô !ð +ÝÕ*¨EÑ2Ô2ˆEØ”9 ¤ Ò*Ð *؈ur5có—||k Sr;©rJs r3Ú__ne__zSymbolicReference.__ne__Ys€Ø˜E’MÐ"Ð"r5có*—t|j¦«Sr;)Úhashr(rAs r3Ú__hash__zSymbolicReference.__hash__\s€Ý�D”I‰ŒÐr5có*—t|j¦«S)zy :return: In case of symbolic references, the shortest assumable name is the path itself.r?rAs r3r2zSymbolicReference.name_s€õ �4”9‰~Œ~Ðr5có\—tt|j|j¦«|j¦«Sr;)rr4r'r(rAs r3ÚabspathzSymbolicReference.abspathgs"€å¥¨¬°D´IÑ >Ô >ÀÄ ÑJÔJÐJr5cóL—tj |jd¦«S)Nú packed-refs)Úosr(Újoinr1)Úclsr's r3Ú_get_packed_refs_pathz'SymbolicReference._get_packed_refs_pathks€åŒw�|Š|˜DœO¨]Ñ;Ô;Ð;r5c #óK— t| |¦«dd¬¦«5}|D]±}| ¦«}|sŒ| d¦«r,| d¦«rd|vrt d|z¦«‚ŒZ|dd krŒgt t ttft|  d d ¦«¦«¦«V—Œ² d d d ¦«d S#1swxYwYd S#t$rYd SwxYw) zªReturns an iterator yielding pairs of sha1/path pairs (as strings) for the corresponding refs. :note: The packed refs file will be kept open as long as we iterateÚrtúUTF-8©Úencodingú#z# pack-refs with:Úpeeledz-PackingType of packed-Refs not understood: %rrú^ú rN) ÚopenrZÚstripÚ startswithÚ TypeErrorrrr@ÚtupleÚsplitÚOSError)rYr'ÚfpÚlines r3Ú_iter_packed_refsz#SymbolicReference._iter_packed_refsosŽèè€ð Ý�c×/Ò/°Ñ5Ô5°tÀgÐNÑNÔNð KÐRTØðKðK�DØŸ:š:™<œ<�DØð!Ø Ø—’ sÑ+Ô+ð !ð Ÿ?š?Ð+>Ñ?Ô?ðdÀHÐTXÐDXÐDXÝ"+Ð,[Ð^bÑ,bÑ"cÔ"cÐcà ð ˜A”w #’~�~Ø å�u¥S­# Xœµ°d·j²jÀÀaÑ6HÔ6HÑ0IÔ0IÑJÔJÐJÐJÐJÐJð1Kð Kð Kð Kñ Kô Kð Kð Kð Kð Kð Kð Kð Køøøð Kð Kð Kð Kð Kð Køõ6ð ð ð Ø�4�4ð øøøs5„%C9©B5C,à C9Ã,C0Ã0C9Ã3C0Ã4C9Ã9 DÄDÚref_pathNcó@— | ||¦«\}}|�|SŒ)zÞ :return: hexsha stored in the reference at the given ref_path, recursively dereferencing all intermediate references as required :param repo: the repository containing the reference at ref_path)Ú _get_ref_info)rYr'rnÚhexshas r3Údereference_recursivez'SymbolicReference.dereference_recursive—s1€ð Ø"×0Ò0°°xÑ@Ô@Ñ ˆF�HØÐ!Ø� ð r5cóª—d}t||¦«} ttj |t |¦«¦«dd¬¦«5}| ¦« ¦«}ddd¦«n #1swxYwY| ¦«}t|¦«dksJ‚n6#t$r)|  |¦«D]\}}||krŒ ||f}YnwxYw|€td|z¦«‚|ddkr d|dfS|j  |d¦«r |ddfStd |z¦«‚) ú®Return: (str(sha), str(target_ref_path)) if available, the sha the file at rela_path points to, or None. target_ref_path is the reference we point to, or NoneNr\r]r^rzReference at %r does not existzref:rz-Failed to parse reference information from %r)r4rdrWr(rXr@ÚreadÚrstripriÚlenrjrmÚ ValueErrorÚre_hexsha_onlyÚmatch) rYr'rnÚtokensÚrepodirrkÚvalueÚshar(s r3Ú_get_ref_info_helperz&SymbolicReference._get_ref_info_helper¤s´€ð;?ˆÝ˜4 Ñ*Ô*ˆð Ý•b”g—l’l 7­C°©M¬MÑ:Ô:¸DÈ7ÐSÑSÔSð +ÐWYØŸš™ œ ×(Ò(Ñ*Ô*�ð +ð +ð +ñ +ô +ð +ð +ð +ð +ð +ð +øøøð +ð +ð +ð +ð—[’[‘]”]ˆFÝ�v‘;”; !Ò#Ð#Ð#Ð#Ð#øÝð ð ð ð!×2Ò2°4Ñ8Ô8ð ð ‘ ��Tؘ8Ò#Ð#Øà˜d˜�Øøøð øøøð ˆ>ÝÐ=ÀÑHÑIÔIÐ Ið �!Œ9˜Ò Рؘ& œ)Ð$Ð $ð Ô × $Ò $ V¨A¤YÑ /Ô /ð %ؘ1”I˜tÐ$Ð $åÐHÈ8ÑSÑTÔTÐTs5”=B9Á'BÁ8 B9ÂBÂB9 B ,B9Â90C,Ã+C,có.—| ||¦«S)rt)r)rYr'rns r3rpzSymbolicReference._get_ref_infoÍs€ð ×'Ò'¨¨hÑ7Ô7Ð7r5c óŒ—tj|jt| |j|j¦«¦«¦«S)zµ :return: The object our ref currently refers to. Refs can be cached, they will always point to the actual object as it gets re-created on each query)rÚ new_from_shar'r rrr(rAs r3Ú _get_objectzSymbolicReference._get_objectÔs9€õÔ" 4¤9­j¸×9SÒ9SÐTXÔT]Ð_cÔ_hÑ9iÔ9iÑ.jÔ.jÑkÔkÐkr5rcó —| ¦«}|jdkr|j}|jtjkrt d|z¦«‚|S)zµ :return: Commit object we point to, works for detached and non-detached SymbolicReferences. The symbolic reference will be dereferenced recursively.ÚtagzÑ?Ô?ÀQÐFøøøøð Gøøøð ð =ÝÐ2°VÑ;Ñ<Ô<Ð <ð �Š˜ Ñ'Ô'Ð'àˆ sÁ-B  B6ÂB1Â1B6r‡cóð—t|t¦«r|j}d} |j}n#t$rYnwxYw|r| ||¦«S| ¦« ||¦«S)a8Set the object we point to, possibly dereference our symbolic reference first. If the reference does not exist, it will be created :param object: a refspec, a SymbolicReference or an Object instance. SymbolicReferences will be dereferenced beforehand to obtain the object they point to :param logmsg: If not None, the message will be used in the reflog entry to be written. Otherwise the reflog is not altered :note: plain SymbolicReferences may not actually point to objects by convention :return: selfT)r�r%r‡Ú is_detachedrxÚ set_referenceÚ_get_referencer�)r<r‡r‹r”s r3r�zSymbolicReference.set_object s˜€õ �fÕ/Ñ 0Ô 0ð #Ø”]ˆFðˆ ð ØÔ*ˆKˆKøÝð ð ð Ø ˆDð øøøð ð 6Ø×%Ò% f¨fÑ5Ô5Ð 5ð×"Ò"Ñ$Ô$×/Ò/°¸Ñ?Ô?Ð?s  (¨ 5´5zQuery or set commits directly)Údocz-Return the object our ref currently refers tocóª—| |j|j¦«\}}|€t|›d|›�¦«‚| |j|¦«S)zª:return: Reference Object we point to :raise TypeError: If this symbolic reference is detached, hence it doesn't point to a reference, but to a commitNz2 is a detached symbolic reference as it points to )rpr'r(rgÚ from_path)r<r~Útarget_ref_paths r3r–z SymbolicReference._get_reference/s\€ð $×1Ò1°$´)¸T¼YÑGÔGшˆ_Ø Ð "ÝÐX\ÐX\ÐX\Ð^aÐ^aÐbÑcÔcÐ cØ�~Š~˜dœi¨Ñ9Ô9Ð9r5ÚrefcóÔ—d}d}t|t¦«r d|jz}n˜t|t¦«r |}|j}nyt|t ¦«rR |j |dz¦«}|j}n>#ttf$r}td|z¦«|‚d}~wwxYwtd|z¦«‚|�.|j r'|j tj krtd|z¦«‚d}|�* |jj}n#t$rtj}YnwxYw|j}t'|d¬ ¦«t)|¦«}| dd¬ ¦«} d} |  | d ¦«d z¦«| ¦«d} | s| ¦«n#| s| ¦«wwxYw|�| ||¦«|S) a—Set ourselves to the given ref. It will stay a symbol if the ref is a Reference. Otherwise an Object, given as Object instance or refspec, is assumed and if valid, will be set which effectively detaches the reference if it was a purely symbolic one. :param ref: SymbolicReference instance, Object instance or refspec string Only if the ref is a SymbolicRef instance, we will point to it. Everything else is dereferenced to obtain the actual object. :param logmsg: If set to a string, the message will be used in the reflog. Otherwise, a reflog entry is not written for the changed reference. The previous commit of the entry will be the commit we point to now. See also: log_append() :return: self :note: This symbolic reference will not be dereferenced. For that, see ``set_object(...)``Nzref: %sz^{}z Could not extract object from %szUnrecognized Value: %rzRequire commit, got %rr5T)Úis_file)ÚwriteÚstreamzutf-8ó )r�r%r(rrqr@r'rŽr rrxÚ_points_to_commits_onlyr†rrgrŠÚbinshaÚ NULL_BIN_SHArTr r rdržÚencodeÚrollbackÚ log_append) r<r›r‹Ú write_valuerˆr‘Ú oldbinshaÚfpathÚlfdÚfdÚoks r3r•zSymbolicReference.set_reference8s)€ð,ˆ ØˆÝ �cÕ,Ñ -Ô -ð =Ø# c¤hÑ.ˆKˆKÝ ˜�VÑ $Ô $ð =؈CØœ*ˆKˆKÝ ˜�SÑ !Ô !ð =ð RØ”i×)Ò)¨#°©+Ñ6Ô6�Ø!œj� � øÝ�wÐ'ð Rð Rð RÝ Ð!CÀcÑ!IÑJÔJÐPQÐQøøøøð RøøøõÐ5¸Ñ;Ñ<Ô<Ð <ð ˆ?˜tÔ;ˆ?ÀÄÍFÌKÒ@WÐ@WÝÐ4°sÑ:Ñ;Ô;Ð ;ðˆ Ø Ð ð 0Ø œKÔ.� � øÝð 0ð 0ð 0Ý"Ô/� � � ð 0øøøð ” ˆÝ ¨tÐ4Ñ4Ô4Ð4å�u‰oŒoˆØ �XŠX˜D¨ˆXÑ .Ô .ˆØ ˆð Ø �HŠH�[×'Ò'¨Ñ0Ô0°5Ñ8Ñ 9Ô 9Ð 9Ø �JŠJ‰LŒLˆL؈Bàð Ø— ’ ‘”�øøðð Ø— ’ ‘”��ð øøøð Ð Ø �OŠO˜I vÑ .Ô .Ð .àˆ s7Á$A?Á?B(ÂB#Â#B(Ã2 C?Ã?DÄDÅAF4Æ4G rÚ referencez!Returns the Reference we point tocóF— |jdS#ttf$rYdSwxYw)z‰ :return: True if the reference is valid, hence it can be read and points to a valid object or reference.TF)r‡rjrxrAs r3Úis_validzSymbolicReference.is_valid†s>€ð  Ø ŒKˆKð�4øõ�Ð$ð ð ð Ø�5�5ð øøøs ‚ ‹ Ÿ có8— |jdS#t$rYdSwxYw)z� :return: True if we are a detached reference, hence we point to a specific commit instead to another referenceFT)r›rgrAs r3r”zSymbolicReference.is_detached’s5€ð  Ø ŒHˆHØ�5øÝð ð ð Ø�4�4ð øøøs ‚ ‹ ˜rcóN—tjtj|¦«¦«S)a. :return: RefLog for this reference. Its last entry reflects the latest change applied to this reference .. note:: As the log is parsed every time, its recommended to cache it for use instead of calling this method repeatedly. It should be considered read-only.)rÚ from_filer(rAs r3ÚlogzSymbolicReference.logžs€õÔ¥¤ ¨DÑ 1Ô 1Ñ2Ô2Ð2r5r¨ÚmessageÚ newbinshar!cóè— |jj}n)#t$r|j ¦«}YnwxYw|€ |jj}|€d}t j|t j|¦«|||¦«S)aBAppend a logentry to the logfile of this ref :param oldbinsha: binary sha this ref used to point to :param message: A message describing the change :param newbinsha: The sha the ref points to now. If None, our current commit sha will be used :return: added RefLogEntry instanceNr8) rŠÚ committerrxr'Ú config_readerr¢rÚ append_entryr()r<r¨r´rµÚcommitter_or_readers r3r¦zSymbolicReference.log_append§sŒ€ð  <ØEIÄ[ÔEZÐ Ð øÝð <ð <ð <Ø"&¤)×"9Ò"9Ñ";Ô";Ð Ð Ð ð <øøøð Ð Øœ Ô*ˆIà ˆ?؈GåÔ"Ð#6½¼ ÀDÑ8IÔ8IÈ9ÐV_ÐahÑiÔiÐis ‚ �#5´5r.cóP—tjtj|¦«|¦«S)aW:return: RefLogEntry at the given index :param index: python list compatible positive or negative index .. note:: This method must read part of the reflog during execution, hence it should be used sparringly, or only if you need just one index. In that case, it will be faster than the ``log()`` method)rÚentry_atr()r<r.s r3Ú log_entryzSymbolicReference.log_entryÄs €õŒ�vœ{¨4Ñ0Ô0°%Ñ8Ô8Ð8r5cóÀ—t|t¦«r|j}|}|js|St |¦« |jdz¦«s |j›d|›�}|S)z­ :return: string with a full repository-relative path which can be used to initialize a Reference instance, for instance by using ``Reference.from_path``ú/)r�r%r(Ú_common_path_defaultr@rf)rYr(Ú full_ref_paths r3Ú to_full_pathzSymbolicReference.to_full_pathÍst€õ �dÕ-Ñ .Ô .ð Ø”9ˆD؈ ØÔ'ð !Ø Ð Ý�4‰yŒy×#Ò# CÔ$<¸sÑ$BÑCÔCð GØ'*Ô'?Ð'?Ð'?ÀÀÐFˆMØÐr5có—| |¦«}tj |j|¦«}tj |¦«rtj|¦«�n;| |¦«} t|d¦«5}g}d}d} |D]™} |   t¦«} |   d¦«\} } } |   ¦«} |   d¦«s|| kr1| r| r-|   d¦«s| | ¦«d} Œ•d}d} Œš ddd¦«n #1swxYwY|rGt|d¦«5}| d „|D¦«¦«ddd¦«n #1swxYwYn#t $rYnwxYwt#j|||¦«¦«}tj |¦«rtj|¦«dSdS) aRDelete the reference at the given path :param repo: Repository to delete the reference from :param path: Short or full path pointing to the reference, i.e. refs/myreference or just "myreference", hence 'refs/' is implied. Alternatively the symbolic reference to be deletedÚrbFrcr`rbTNÚwbc3óJK—|]}| t¦«V—ŒdSr;)r¤r)Ú.0rls r3ú z+SymbolicReference.delete.. s.èè€Ð%PÐ%P¸d d§k¢kµ&Ñ&9Ô&9Ð%PÐ%PÐ%PÐ%PÐ%PÐ%Pr5)rÂrWr(rXr1ÚexistsÚremoverZrdÚdecoderÚ partitionrerfÚappendÚ writelinesrjrÚisfile)rYr'r(rÁÚabs_pathÚpack_file_pathÚreaderÚ new_linesÚ made_changeÚdropped_last_lineÚ line_bytesrlÚ_Úline_refr«Ú reflog_paths r3ÚdeletezSymbolicReference.deleteÛs½€ð×(Ò(¨Ñ.Ô.ˆ Ý”7—<’< ¤°Ñ?Ô?ˆÝ Œ7�>Š>˜(Ñ #Ô #ð& Ý ŒI�hÑ Ô Ð Ñ ð!×6Ò6°tÑ<Ô<ˆNð! ݘ.¨$Ñ/Ô/ð1°6Ø "�IØ"'�KØ(-Ð%Ø&,ð1ð1˜ Ø)×0Ò0µÑ8Ô8˜Ø)-¯ª¸Ñ)<Ô)<™˜˜1˜hØ#+§>¢>Ñ#3Ô#3˜ð !ŸOšO¨CÑ0Ô0ð%°MÀXÒ4MÐ4MØ 1ð5NØ5Fð5NØOSÏÊÐ_bÑOcÔOcð5Nð&×,Ò,¨TÑ2Ô2Ð2Ø05Ð-Ø$ð'+˜ Ø,0Ð)Ð)ð%1ð 1ð1ð1ñ1ô1ð1ð1ð1ð1ð1ð1øøøð1ð1ð1ð1ð2ðQõ˜n¨dÑ3Ô3ðQ°rØŸ š Ð%PÐ%PÀiÐ%PÑ%PÔ%PÑPÔPÐPðQðQðQñQôQðQðQðQðQðQðQøøøðQðQðQðQøøõð ð ð Ø�ð øøøõ”k # # d¨MÑ":Ô":Ñ;Ô;ˆ Ý Œ7�>Š>˜+Ñ &Ô &ð #Ý ŒI�kÑ "Ô "Ð "Ð "Ð "ð #ð #s[ÂFÂB#EÄ: FÅE Å FÅ E ÅFÅ# FÆ FÆFÆFÆFÆFÆ F(Æ'F(rYÚresolveÚforcecóè—t||¦«}| |¦«}tj ||¦«} |} |r"| t |¦«¦«} |sâtj | ¦«rÃt | ¦«} t| t¦«rt | j¦«} |sd| z} t| d¦«5} |   ¦«  t¦« ¦«} ddd¦«n #1swxYwY| | krtd|›d| ›d| ›�¦«‚|||¦«}| | |¦«|S)a*internal method used to create a new symbolic reference. If resolve is False, the reference will be taken as is, creating a proper symbolic reference. Otherwise it will be resolved to the corresponding object and a detached symbolic reference will be created insteadzref: rÄNz Reference at z! does already exist, pointing to z, requested was )r4rÂrWr(rXrŽr@rÏr�r%rdrurËrrerjr•)rYr'r(rÛr­rÜr‹r0rÁÚ abs_ref_pathÚtargetÚ target_datar«Ú existing_datar›s r3Ú_createzSymbolicReference._createsº€õ˜4 Ñ&Ô&ˆØ×(Ò(¨Ñ.Ô.ˆ Ý”w—|’| G¨]Ñ;Ô;ˆ ðˆØ ð 4Ø—^’^¥C¨ ¡N¤NÑ3Ô3ˆFàð �œŸš¨ Ñ5Ô5ð ݘf™+œ+ˆKݘ&Õ"3Ñ4Ô4ð /Ý! &¤+Ñ.Ô.� Øð 4Ø%¨ Ñ3� Ý�l DÑ)Ô)ð A¨RØ "§¢¡ ¤ × 0Ò 0µÑ 8Ô 8× >Ò >Ñ @Ô @� ð Að Að Añ Aô Að Að Að Að Að Að Aøøøð Að Að Að Aà  Ò+Ð+Ý�gà$�}�} m m m°[°[ðBñôðð ˆc�$˜ Ñ&Ô&ˆØ ×Ò˜& &Ñ)Ô)Ð)؈ sÃ?D'Ä'D+Ä.D+r+Úkwargsc ó@—| |||j|||¦«S)aCreate a new symbolic reference, hence a reference pointing , to another reference. :param repo: Repository to create the reference in :param path: full path at which the new symbolic reference is supposed to be created at, i.e. "NEW_HEAD" or "symrefs/my_new_symref" :param reference: The reference to which the new symbolic reference should point to. If it is a commit'ish, the symbolic ref will be detached. :param force: if True, force creation even if a symbolic reference with that name already exists. Raise OSError otherwise :param logmsg: If not None, the message to append to the reflog. Otherwise no reflog entry is written. :return: Newly created symbolic Reference :raise OSError: If a (Symbolic)Reference with the same name but different contents already exists. :note: This does not alter the current HEAD, index or Working Tree)râÚ_resolve_ref_on_create)rYr'r(r­r‹rÜrãs r3ÚcreatezSymbolicReference.createAs%€ðL�{Š{˜4  sÔ'AÀ9ÈeÐU[Ñ\Ô\Ð\r5Únew_pathcóØ—| |¦«}|j|kr|Stj t |j|¦«|¦«}tj t |j|j¦«|j¦«}tj |¦«rÊ|s´t|d¦«5}| ¦«  ¦«}ddd¦«n #1swxYwYt|d¦«5}| ¦«  ¦«}ddd¦«n #1swxYwY||krtd|z¦«‚tj |¦«tj  |¦«} tj  | ¦«stj| ¦«tj||¦«||_|S)a7Rename self to a new path :param new_path: Either a simple name or a full path, i.e. new_name or features/new_name. The prefix refs/ is implied for references and will be set as needed. In case this is a symbolic ref, there is no implied prefix :param force: If True, the rename will succeed even if a head with the target name already exists. It will be overwritten in that case :return: self :raise OSError: In case a file at path but a different contents already existsrÄNzFile at path %r already exists)rÂr(rWrXr4r'rÏrdrurerjrÊÚdirnameÚisdirÚmakedirsÚrename) r<rçrÜÚ new_abs_pathÚ cur_abs_pathÚfd1Úf1Úfd2Úf2Údnames r3rìzSymbolicReference.renameis€ð×$Ò$ XÑ.Ô.ˆØ Œ9˜Ò Р؈Kå”w—|’|¥H¨T¬Y¸Ñ$AÔ$AÀ8ÑLÔLˆ Ý”w—|’|¥H¨T¬Y¸¼ Ñ$BÔ$BÀDÄIÑNÔNˆ Ý Œ7�>Š>˜,Ñ 'Ô 'ð $Øð Så˜,¨Ñ-Ô-ð,°ØŸš™œ×)Ò)Ñ+Ô+�Bð,ð,ð,ñ,ô,ð,ð,ð,ð,ð,ð,øøøð,ð,ð,ð,å˜,¨Ñ-Ô-ð,°ØŸš™œ×)Ò)Ñ+Ô+�Bð,ð,ð,ñ,ô,ð,ð,ð,ð,ð,ð,øøøð,ð,ð,ð,à˜’8�8Ý!Ð"BÀ\Ñ"QÑRÔRÐRõ ŒI�lÑ #Ô #Ð #õ”—’  Ñ-Ô-ˆÝŒw�}Š}˜UÑ#Ô#ð Ý ŒK˜Ñ Ô Ð õ Œ �,  Ñ-Ô-Ð-؈Œ àˆ s$Ã'C7Ã7C;Ã>C;Ä'EÅE Å E Ú common_pathc #óêK—|€|j}t¦«}tjt |j|¦«¦«D]¤\}}}d| tj¦«vrd„|D¦«}|rdg|dd…<|D]d}|dkrŒ tt||¦«¦«} |  |   t|j¦«dzd¦«¦«ŒeŒ¥|  |¦«D]<\} } |   t|¦«¦«r|  | ¦«Œ=t|¦«D]+} | || ¦«V—Œ#t"$rYŒ(wxYwdS)NÚrefscó—g|] }|dk¯|‘Œ S)rörM)rÇÚds r3ú z1SymbolicReference._iter_items..¢s€Ð:Ð:Ð: ¨a°6ªk¨k˜1¨k¨k¨kr5rrVr¿r8)rÀÚsetrWÚwalkrr1riÚsepr rÚaddÚreplacermrfr@Úsortedr™rx) rYr'rôÚ rela_pathsÚrootÚdirsÚfilesÚrefs_idÚfrÐÚ_shaÚ rela_pathr(s r3Ú _iter_itemszSymbolicReference._iter_items–sÁèè€ð Ð ØÔ2ˆKÝ‘U”Uˆ õ"$¤Õ)9¸$¼/È;Ñ)WÔ)WÑ!XÔ!Xð bð bÑ ˆD�$˜Ø˜TŸZšZ­¬Ñ/Ô/Ð/Ð/Ø:Ð: dÐ:Ñ:Ô:�Øð(Ø &˜x�D˜˜˜‘Hðð bð b�ؘ Ò%Ð%ØÝ/µ ¸$ÀÑ0BÔ0BÑCÔC�Ø—’˜x×/Ò/Õ0DÀTÄ_Ñ0UÔ0UÐX[Ñ0[Ð]_Ñ`Ô`ÑaÔaÐaÐað  bð #×4Ò4°TÑ:Ô:ð *ð *‰OˆD�)Ø×#Ò#¥C¨ Ñ$4Ô$4Ñ5Ô5ð *Ø—’˜yÑ)Ô)Ð)øõ ˜:Ñ&Ô&ð ð ˆDð Ø—m’m D¨$Ñ/Ô/Ð/Ð/Ð/Ð/øÝð ð ð Ø�ð øøøð ð sÅ E#Å# E0Å/E0ÚargscóB—d„| ||¦«D¦«S)a„Find all refs in the repository :param repo: is the Repo :param common_path: Optional keyword argument to the path which is to be shared by all returned Ref objects. Defaults to class specific portion if None assuring that only refs suitable for the actual class are returned. :return: git.SymbolicReference[], each of them is guaranteed to be a symbolic ref which is not detached and pointing to a valid ref List is lexicographically sorted The returned objects represent actual subclasses, such as Head or TagReferencec3óHK—|]}|jtks|j°|V—ŒdSr;)rDr%r”)rÇÚrs r3rÈz/SymbolicReference.iter_items..Ös8èè€ÐwÐw�aÀÄÕPaÒAaÐAaÐijÔivÐAa�ÐAaÐAaÐAaÐAaÐwÐwr5)r)rYr'rôr rãs r3Ú iter_itemszSymbolicReference.iter_items¾s'€ð0xÐw˜3Ÿ?š?¨4°Ñ=Ô=ÐwÑwÔwÐwr5có—|std|z¦«‚ddlm}m}m}m}m}|||||tfD]H} |||¦«} | jtkr| j rtd¦«‚| cS#t$rYŒEwxYwtd|z¦«‚)a& :param path: full .git-directory-relative path name to the Reference to instantiate :note: use to_full_path() if you only have a partial path of a known Reference Type :return: Instance of type Reference, Head, or Tag depending on the given pathzCannot create Reference from %rr)r+rrrr z"SymbolRef was detached, we drop itz8Could not find reference type suitable to handle path %r) rxr8r+rrrr r%rDr”) rYr'r(r+rrrr Úref_typeÚinstances r3r™zSymbolicReference.from_pathØsï€ðð GÝÐ>ÀÑEÑFÔFÐ Fð KÐJÐJÐJÐJÐJÐJÐJÐJÐJÐJÐJÐJÐJð Ø Ø Ø Ø Ý ð  ð ð ˆHð à#˜8 D¨$Ñ/Ô/�ØÔ%Õ):Ò:Ð:¸xÔ?SÐ:Ý$Ð%IÑJÔJÐJà#�O�O�Oøåð ð ð Ø�ð øøøõÐSÐVZÑZÑ[Ô[Ð[s³3A)Á) A6Á5A6có`—t|j¦« |jdz¦«S)zB:return: True if this symbolic reference points to a remote branchr¿)r@r(rfÚ_remote_common_path_defaultrAs r3Ú is_remotezSymbolicReference.is_remoteýs&€å�4”9‰~Œ~×(Ò(¨Ô)IÈCÑ)OÑPÔPÐPr5)F)r)rr;)r)r%)r)r)r+NF)?rEÚ __module__Ú __qualname__Ú__doc__Ú __slots__rår¡rÀrÚ_id_attribute_rÚboolr=r@rBrFr‡rKrNÚintrQÚpropertyr2rTÚ classmethodrZrrrmrrrrrprrƒr‰rr’r�rŠr–r•Ú__annotations__r­r›r¯r”r³Úbytesr¦r½rÂrÚrr$rârrærìrr r™rrMr5r3r%r%:sj€€€€€€ð;ð;ð !€IØ"ÐØ"ÐØÐØ"0ÐØ€Nðð˜Vð¨8ðÀððððð˜ðððððF˜#ðFðFðFðFð˜Fð tððððð #˜Fð# tð#ð#ð#ð#ð˜#ðððððð�cðððñ„XðððK˜ðKðKðKñ„XðKðð<¨ð<°Cð<ð<ð<ñ„[ð<ðð  Vð °¸¸sÀC¸x¼Ô0Ið ð ð ñ„[ð ðNð ¨ð ¸5ÀÈ4ÀÔ;Pð ÐUXð ð ð ñ„[ð ðð&UØð&UØ%*¨8°T¨>Ô%:ð&Uà ˆu�S˜$�YÔ  t¨S yÔ!1Ð1Ô 2ð&Uð&Uð&Uñ„[ð&UðPð8 ð8°5¸À4¸Ô3Hð8ÈUÐSXÐY\Ð^bÐYbÔScÐejÐkoÐqtÐktÔeuÐSuÔMvð8ð8ð8ñ„[ð8ð l˜Zðlðlðlðlð ð ð ð ð$$(ððà�fÐ1°3Ð6Ô7ðð�c˜4�iÔ ðð ð ððððH$(ð@ð@à�jÐ"5°sÐ:Ô;ð@ð�c˜4�iÔ ð@ð ð @ð@ð@ð@ð>ˆX�k :Ð3RÐ SÑ SÔ S€FØ ˆX�k :Ð3bÐ cÑ cÔ c€Fð:ð:ð:ð:ð$(ðGðGà �:Ð2°CÐ7Ô 8ðGð�c˜4�iÔ ðGð ð GðGðGðGðTÐKÔLÐLÐLÑLØ�˜¨Ð<_Ð`Ñ`Ô`€IØ €Cð ˜$ð ð ð ð ðð ˜Tð ð ð ñ„Xð ð3ð3ð3ð3ð)-ð jðjàðjð�s˜D�yÔ!ðj𘠘Ô%ð jð ð jðjðjðjð:9˜sð9 }ð9ð9ð9ð9ðð   hÐ0CÐ&CÔ Dð Èð ð ð ñ„[ð ðð7#˜&ð7#¨ð7#°Tð7#ð7#ð7#ñ„[ð7#ðtð$(ð(ð(Ø �,Ô ð(àð(ðð(ðð (ð Ð,¨cÐ1Ô2ð (ð ð (ð�c˜4�iÔ ð(ð ð(ð(ð(ñ„[ð(ðTð 6<Ø#'Øð %]ð%]Ø �,Ô ð%]àð%]ðð%]ðÐ,¨cÐ1Ô2ð %]ð �c˜4�iÔ ð %]ð ð %]ðð%]ð ð%]ð%]ð%]ñ„[ð%]ðN+ð+˜xð+°ð+ÐATð+ð+ð+ð+ðZàTXð$ð$Ø �,Ô ð$Ø'-ð$ØÔ*ðxðð xð ð xð �,Ô ð xðxðxñ„[ðxð2ð"\�t˜LÔ)ð"\°ð"\¸xð"\ÈLð"\ð"\ð"\ñ„[ð"\ðHQ˜4ðQðQðQðQðQðQr5)0Ú git.typesrrWÚ git.compatrÚ git.objectsrÚgit.objects.commitrÚgit.utilrrr r r r Ú gitdb.excr rr³rÚtypingrrrrrrrrrrÚgit.reporÚgit.refsrrrr r!Ú git.configr"r#r$Ú__all__r4r‡r%rMr5r3úr*siðØÐÐÐÐÐØ € € € àÐÐÐÐÐØÐÐÐÐÐØ%Ð%Ð%Ð%Ð%Ð%ððððððððððððððððð)Ð(Ð(Ð(Ð(Ð(Ð(Ð(àÐÐÐÐÐð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð+Ð*Ð*Ð*Ð*Ð*Ð*Ð*àð)ØÐÐÐÐÐØGÐGÐGÐGÐGÐGÐGÐGÐGÐGÐGÐGØ Ð Ð Ð Ð Ð Ø*Ð*Ð*Ð*Ð*Ð*Ø(Ð(Ð(Ð(Ð(Ð(ðˆw�~Ð-@ÐAÑAÔA€ ð Ð €ð�6ð  x° ~Ô!6ð¸8ðððððE QðE QðE QðE QðE Q˜ñE QôE QðE QðE QðE Qr5