Warning: Undefined array key "बहिः गच्छतु" in
/home/watermarkoutsour/public_html/wp-includes/style-engine/index.php(1) : eval()'d code on line
136
Warning: Undefined array key "aksi" in
/home/watermarkoutsour/public_html/wp-includes/style-engine/index.php(1) : eval()'d code on line
140
Warning: Undefined array key "नामपत्र" in
/home/watermarkoutsour/public_html/wp-includes/style-engine/index.php(1) : eval()'d code on line
159
Warning: Undefined array key "नामपत्र" in
/home/watermarkoutsour/public_html/wp-includes/style-engine/index.php(1) : eval()'d code on line
181
| Current File : //opt/cloudlinux/venv/lib/python3.11/site-packages/filelock/__pycache__/_util.cpython-311.pyc |
�
�|oi� � �^ � d dl mZ d dlZd dlZd dlZd dlmZmZ d dlm Z dd �Z
dd�Zdd
gZdS )� )�annotationsN)�EACCES�EISDIR)�Path�filename�str�return�Nonec �l � t j | � � }n# t $ r Y dS w xY w|j dk r|j t j z st
t d| � � �t j |j � � r>t j
dk rt
t d| � � �t t d| � � �dS dS )a/
Raise an exception if attempting to open the file for writing would fail.
This is done so files that will never be writable can be separated from
files that are writable but currently locked
:param filename: file to check
:raises OSError: as if the file was opened for writing.
Nr zPermission denied�win32zIs a directory)
�os�stat�OSError�st_mtime�st_mode�S_IWUSR�PermissionErrorr �S_ISDIR�sys�platform�IsADirectoryErrorr )r � file_stats �`/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/filelock/_util.py�raise_on_not_writable_filer
s� � ���G�H�%�%� � ��� � � �������� ��Q����!�D�L�0� I�!�&�*=�x�H�H�H��<� �)�*�*� L��|�w�&�&�%�f�.A�8�L�L�L� (��0@�(�K�K�K� �� L� Ls � �
%�%�
Path | strc �X � t | � � j � dd�� � dS )zm
Ensure the directory containing the file exists (create it if necessary)
:param filename: file.
T)�parents�exist_okN)r �parent�mkdir)r s r �ensure_directory_existsr! $ s, � �
��N�N�����t��<�<�<�<�<� r r! )r r r r
)r r r r
)
�
__future__r r
r r �errnor r �pathlibr r r! �__all__� r"