관리-도구
편집 파일: rmtree.cpython-311.pyc
� �܋f � � � d dl Z d dlZd dlZd dlZd dlZd dlZej � d� � rdd�Zd� Z nej Z d� Z dS )� N�winFc �< � | |� � |r|}n&t j � |� � \ }}|pd}d}|dk r>t j |� � }|r|sn||v sd S t j |� � |dz }|dk �>t j d|z t d�� � d S )N�.g����MbP?g �?� z)tests may fail, delete still pending for � )� stacklevel) �os�path�split�listdir�time�sleep�warnings�warn�RuntimeWarning)�func�pathname�waitall�dirname�name�timeout�Ls �d/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/testfixtures/rmtree.py�_waitforr s� � ���X����� %��G�G��G�M�M�(�3�3�M�G�T��n��G� ����m�m� � �7�#�#�A� � �A� � �d�a�i�i����J�w�����q�L�G� ��m�m� � �A� �!�$�� 4� 4� 4� 4� 4� 4� c �j �� �fd��t �| d�� � t t j | � � d S )Nc �* �� t j | � � D ]|}t j � | |� � }t j � |� � r't �|d�� � t j |� � �ht j |� � �}d S )NT�r )r r r �join�isdirr �rmdir�unlink)r r �fullname� _rmtree_inners �r r$ z_rmtree.<locals>._rmtree_inner. s� �� �� �4�(�(� (� (���7�<�<��d�3�3���7�=�=��*�*� (��]�H�d�C�C�C�C��H�X�&�&�&�&��I�h�'�'�'�'� (� (r Tr )r r r! )r r$ s @r �_rmtreer% - sK �� � (� (� (� (� (� ���d�3�3�3�3����4� � � � � r c � � t | � � d S # t $ r+}|j t j t j fvr� Y d }~d S d }~ww xY w)N)r% �OSError�errno�ENOENT�ESRCH)r �es r �rmtreer, <