https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/filelock/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/filelock/__pycache__/_unix.cpython-310.pyc
o

;�b*�@s�ddlmZddlZddlZddlmZddlmZdZej	dkr*Gdd	�d	e�Z
nzddlZWn	ey9Ynwd
ZGdd	�d	e�Z
dd	gZ
dS)
�)�annotationsN)�cast�)�BaseFileLockF�win32c@�$eZdZdZd	dd�Zd	dd�ZdS)
�UnixFileLock�HUses the :func:`fcntl.flock` to hard lock the lock file on unix systems.�return�NonecC�t��N��NotImplementedError��self�r�0/usr/lib/python3/dist-packages/filelock/_unix.py�_acquire��UnixFileLock._acquirecCrr
rrrrr�_releaser�UnixFileLock._releaseN�r
r��__name__�
__module__�__qualname__�__doc__rrrrrrr
s
rTc@r)
rr	r
rcCsbtjtjBtjB}t�|j|�}zt�|tjtj	B�Wnt
y+t�|�YdSw||_dSr
)
�os�O_RDWR�O_CREAT�O_TRUNC�open�
_lock_file�fcntl�flock�LOCK_EX�LOCK_NB�OSError�close�
_lock_file_fd)r�	open_mode�fdrrrr!s�
rcCs.tt|j�}d|_t�|tj�t�|�dSr
)r�intr+r%r&�LOCK_UNrr*)rr-rrrr+srNrrrrrrrs

�	has_fcntl)�
__future__rr�sys�typingr�_apirr0�platformrr%�ImportError�__all__rrrr�<module>s$

��

https://t.me/RX1948 - 2025