One Hat Cyber Team
Your IP :
216.73.216.183
Server IP :
23.137.84.82
Server :
Linux srv25.usacloudserver.us 5.14.0-570.39.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Sep 4 05:08:52 EDT 2025 x86_64
Server Software :
LiteSpeed
PHP Version :
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib64
/
python3.9
/
site-packages
/
borg
/
__pycache__
/
View File Name :
version.cpython-39.pyc
a HZ�h � @ s d dl Z dd� Zdd� ZdS )� Nc C s� d}t �|| t j�}|du r(td| ��|�� }t|d �t|d �t|d �g} |jdkr�dd d d�|d }t|d �}| ||g7 } n | dg7 } t| �S )u� Simplistic parser for setuptools_scm versions. Supports final versions and alpha ('a'), beta ('b') and release candidate ('rc') versions. It does not try to parse anything else than that, even if there is more in the version string. Output is a version tuple containing integers. It ends with one or two elements that ensure that relational operators yield correct relations for alpha, beta and rc versions, too. For final versions the last element is a -1. For prerelease versions the last two elements are a smaller negative number and the number of e.g. the beta. This version format is part of the remote protocol, don‘t change in breaking ways. z� (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+) # version, e.g. 1.2.33 (?P<prerelease>(?P<ptype>a|b|rc)(?P<pnum>\d+))? # optional prerelease, e.g. a1 or b2 or rc33 NzInvalid version string %s�major�minorZpatchZ prerelease���������)�a�b�rcZptypeZpnum���)�re�match�VERBOSE� ValueError� groupdict�int� lastgroup�tuple)�versionZ version_re�m�gdZp_typeZp_num� r �2/usr/lib64/python3.9/site-packages/borg/version.py� parse_version s " r c C sn g }t | �}t|�}|dkr,|�t|�� q|dkr8qdq|d dddd�| tt|�� |d<