403Webshell
Server IP : 80.87.202.40  /  Your IP : 216.73.216.169
Web Server : Apache
System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64
User : bitrix ( 600)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /lib64/python3.9/site-packages/hgext/git/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /lib64/python3.9/site-packages/hgext/git/__pycache__/gitutil.cpython-39.opt-1.pyc
a

�+�bU�@sbdZddlmZddlmZmZmZddlmZda	dd�Z
dd	�Zd
d�Zdd
�Z
eej�ZdS)z*utilities to assist in working with pygit2�)�absolute_import)�bin�hex�sha1nodeconstants)�pycompatNc	Cs6tdur2zddlatjWnttfy0Yn0tS)Nr)�
pygit2_moduleZpygit2ZInvalidSpecError�ImportError�AttributeError�r
r
�7/usr/lib64/python3.9/site-packages/hgext/git/gitutil.py�
get_pygit2s
rcCs:t�}d}|r,z
|j}Wnty*Yn0d|�d�S)NzN/As(pygit2 %s)zutf-8)r�__version__r	�encode)�mod�vr
r
r�pygit2_versions
rcCst�t|��S)z�Wrapper to convert a Mercurial binary node to a unicode hexlified node.

    pygit2 and sqlite both need nodes as strings, not bytes.
    )rZsysstrr��nr
r
r�	togitnode$srcCstjrt|�d��St|�S)zOpposite of togitnode.�ascii)rZispy3rrrr
r
r�fromgitnode-sr)�__doc__Z
__future__rZmercurial.noderrrZ	mercurialrrrrrrZnullidZnullgitr
r
r
r�<module>s
	

Youez - 2016 - github.com/yon3zu
LinuXploit