← back to Atmos Game

assets/gen/.venv/lib/python3.12/site-packages/filelock/__pycache__/__init__.cpython-312.pyc

19 lines

�

c�bj�
��6�UdZddlmZddlZddlZddlmZmZddlm	Z	m
Z
mZmZm
Z
ddlmZmZddlmZmZmZmZdd	lmZmZdd
lmZmZerddlmZmZddlm Z n	ddlmZmZddlm Z dd
l"m#Z#ddl$m%Z%m&Z&m'Z'ddl(m)Z)m*Z*m+Z+ddl,m-Z-m.Z.ddl/m0Z0ddl1m2Z2m3Z3m4Z4m5Z5m6Z6m7Z7m8Z8ddl9m9Z9e9Z:de;d<ejxdk(re0Z=de;d<e7Z>de;d<n)e.re-Z=de;d<e6Z>de;d<ne#Z=e4Z>ej~dd��ere#Z@e4ZAne=Z@e>ZAgd�ZBy#e!$r	dZdZdZ Y��wxYw)zx
A platform independent file lock that supports the with-statement.

.. autodata:: filelock.__version__
    :no-value:

�)�annotationsN)�
TYPE_CHECKING�Final�)�AcquireReturnProxy�BaseFileLock�CloseErrorPolicy�ContextErrorPolicy�LockOptions)�lock_descriptor�unlock_descriptor)�LeaseSettingsMismatch�SoftFileLockLifetimeWarning�SoftFileLockProtocolError�Timeout)�LeaseCompromise�
SoftFileLease)�MarkerSoftFileLock�OwnerRecord)� AsyncAcquireReadWriteReturnProxy�AsyncReadWriteLock)�
ReadWriteLock)�SoftFileLock)�$AsyncAcquireSoftReadWriteReturnProxy�AsyncSoftReadWriteLock�SoftReadWriteLock)�StrictSoftFileClaim�StrictSoftFileClaimState�StrictSoftFileLock)�UnixFileLock�	has_fcntl)�WindowsFileLock)�AsyncAcquireReturnProxy�AsyncSoftFileLease�AsyncSoftFileLock�AsyncStrictSoftFileLock�AsyncUnixFileLock�AsyncWindowsFileLock�BaseAsyncFileLock)�versionz
Final[str]�__version__�win32ztype[BaseFileLock]�	_FileLockztype[BaseAsyncFileLock]�_AsyncFileLockz only soft file lock is available�)�
stacklevel)%rrr#r�
AsyncFileLockrr$r%rr&r'r(r)rr	r
�FileLockrrrrrrrrrrrrrrrr r"r+rr
)C�__doc__�
__future__r�sys�warnings�typingrr�_apirrr	r
r�_descriptorrr
�_errorrrrr�_leaserr�_markerrr�_async_read_writerr�_read_writer�ImportError�_softr�_soft_rwrrr�_strictrrr�_unixr r!�_windowsr"�asyncior#r$r%r&r'r(r)r*r+�__annotations__�platformr-r.�warnr2r1�__all__���h/Users/macstudio3/Projects/atmos-game/assets/gen/.venv/lib/python3.12/site-packages/filelock/__init__.py�<module>rMs���#�
��'�e�e�;�j�j�2�4���+��[�.� �e�e�V�V�*�%�����"��Z�!��<�<�7��$3�I�!�3�.B�N�+�B��(4�	�%�4�2C��/�C� �	�*����
�
�8�Q�G���H�%�M��H�"�M�&���]��+/�(�!���
��s�D
�
D�D