403Webshell
Server IP : 50.21.180.56  /  Your IP : 216.73.216.208
Web Server : Apache
System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
User : ws67922704 ( 67922704)
PHP Version : 8.5.13
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /kunden/lib/python3/dist-packages/breezy/bzr/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /kunden/lib/python3/dist-packages/breezy/bzr/__pycache__/generate_ids.cpython-313.pyc
�

p��g����SrSSKJr \"\"5S5 SSKJr \R
"S5r\R
"S5rSqSq	S	r
S
rSrS
Sjr
g)z0Common code for generating file or revision ids.�)�lazy_importzB
import time

from breezy import (
    config,
    osutils,
    )
)�
lazy_regexs[^\w.]s	[^-\w.+@]N�c���[cYSR[R[R	55[RS55R
S5q[S-
qS[[4-$)aCreate a new file id suffix that is reasonably unique.

On the first call we combine the current time with 64 bits of randomness to
give a highly probably globally unique number. Then each call in the same
process adds 1 to a serial number we append to that unique value.
z-{}-{}-��ascii�s%s%d)�_gen_file_id_suffix�format�osutils�compact_date�time�
rand_chars�encode�_gen_file_id_serial���9/usr/lib/python3/dist-packages/breezy/bzr/generate_ids.py�_next_id_suffixr+sd��"�"����W�1�1�$�)�)�+�>��@R�@R�SU�@V�W�
�&��/�	��1����)�+>�?�?�?rc���[U[5(aURSS5n[R	SUR55nUR
S5SSnU[5-$)z^Return new file id for the basename 'name'.

The uniqueness is supplied from _next_id_suffix.
r�replacer�.N�)�
isinstance�strr�_file_id_chars_re�sub�lower�lstripr)�name�ascii_word_only�
short_no_dotss   r�gen_file_idr#Ds`��
�$�����{�{�7�I�.��(�+�+�C�����>�O�#�*�*�4�0��"�5�M��?�,�,�,rc��[S5$)zReturn a new tree-root file id.�	tree_root)r#rrr�gen_root_idr&[s
���{�#�#rc���[RU5nUR5nUR	SS5n[
R
SURS55n[RS5RS5nUc[R5nSRU[RU5RS5U45nU$![Ra UnN�f=f)aDReturn new revision-id.

:param username: The username of the committer, in the format returned by
    config.username().  This is typically a real name, followed by an
    email address. If found, we will use just the email address portion.
    Otherwise we flatten the real name, and use that.
:return: A new revision id.
� �_rzutf-8r�-)
�config�extract_email_address�NoEmailInUsernamerr�_rev_id_chars_rerrrrr�joinr
)�username�	timestamp�
user_or_email�unique_chunk�rev_ids     r�gen_revision_idr5`s���!��4�4�X�>�
�"�'�'�)�M�!�)�)�#�s�3�M�$�(�(��m�.B�.B�7�.K�L�M��%�%�b�)�0�0��9�L����I�I�K�	�
�Y�Y�	��,�,�Y�7�>�>�w�G��V��F��M��!�#�#�!� �
�!�s�C�C*�)C*)N)�__doc__r�globals�r�lazy_compilerr.r
rrr#r&r5rrr�<module>r:si��"7�%���I��
���+�+�J�7���*�*�=�9������@�2-�.$�
r

Youez - 2016 - github.com/yon3zu
LinuXploit