U
    "cR                     @  s6   d dl mZ d dlZd dlZdddddZdgZdS )    )annotationsNstrNone)filenamereturnc                 C  sN   zt | }W n tk
r$   Y d S X |jdkrJ|jtj@ sJtd| d S )Nr   zPermission denied: )osstatOSErrorst_mtimest_modeS_IWUSRPermissionError)r   Z	file_stat r   2/tmp/pip-unpacked-wheel-yt0gy6q2/filelock/_util.pyraise_on_exist_ro_file   s    
r   )
__future__r   r   r   r   __all__r   r   r   r   <module>   s
   