HEX
Server: LiteSpeed
System: Linux shams.tasjeel.ae 5.14.0-611.5.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 11 08:09:09 EST 2025 x86_64
User: infowars (1469)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: //usr/lib64/python3.9/site-packages/borg/helpers/__pycache__/__init__.cpython-39.pyc
a

HZ�h
�@s�dZddlmZddlTddlTddlTddlTddlTddlTddl	Tddl
TddlTddlTddl
TddlmZmZmZmZmZddlmZeej�dd��d	��aed
d��Zeadd
�ZdS)z�
This package contains all sorts of small helper / utility functionality,
that did not fit better elsewhere.

Code used to be in borg/helpers.py but was split into the modules in this
package, which are imported into here for compatibility.
�)�contextmanager�)�*)�is_slow_msgpack�is_supported_msgpack�
int_to_bigint�
bigint_to_int�get_limited_unpacker)�msgpackZBORG_WORKAROUNDS��,ccs"t}dtvrtd7adV|adS)N�ignore_invalid_archive_tam)r
)�workarounds)Zsaved�r�;/usr/lib64/python3.9/site-packages/borg/helpers/__init__.pyr
s
r
cCstt|�atS)z�
    Sets the exit code of the program, if an exit code higher or equal than this is set, this does nothing. This
    makes EXIT_ERROR override EXIT_WARNING, etc..

    ec: exit code to set
    )�max�	exit_code)Zecrrr�set_ec4s
rN)�__doc__�
contextlibrZchecksZ
datastruct�errorsZfsZmanifestZmiscZparseformatZprocessZprogress�timeZyesr
rrrrr	r�tuple�os�environ�get�splitrr
ZEXIT_SUCCESSrrrrrr�<module>s&