o
    UÌh™  ã                   @  s@   d dl mZ d dlZd dlmZmZmZ dd„ Zdd„ ZdZ	dS )	é    )ÚannotationsN)ÚS_IXGRPÚS_IXOTHÚS_IXUSRc              	   C  sp   |   ¡ j}tttg}tt|ƒddƒD ]#}z|}|d |… D ]}||O }q|  |¡ W  d S  ty5   Y qw d S )Nr   éÿÿÿÿ)	ÚstatÚst_moder   r   r   ÚrangeÚlenÚchmodÚOSError)ÚfilenameÚoriginal_modeÚlevelsÚatÚmodeÚlevel© r   út/var/www/html/construction_image-detection-poc/venv/lib/python3.10/site-packages/virtualenv/util/path/_permission.pyÚmake_exe   s   



ÿùr   c                 C  s>   t  t| ƒ¡D ]\}}}|D ]}t  t j ||¡|¡ qqd S )N)ÚosÚwalkÚstrr   ÚpathÚjoin)Úfolderr   ÚrootÚ_Úfilesr   r   r   r   Úset_tree   s
   ÿÿr   )r   r   )
Ú
__future__r   r   r   r   r   r   r   r   Ú__all__r   r   r   r   Ú<module>   s    