| Server IP : 35.80.110.71 / Your IP : 216.73.216.221 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ip-172-31-21-44 6.17.0-1019-aws #19~24.04.1-Ubuntu SMP Tue Jun 23 18:53:06 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/fs/__pycache__/ |
Upload File : |
�
��ob � �. � d dl mZ y# e$ r d� ZY yw xY w)� )�
commonpathc �$ �� | st d� �t | � } t | d t � rd�d}nd�d}| D �cg c] }|j �� �� }} t �fd�| D � � \ }|D ��cg c] }|D �cg c]
}|s�||k7 s�|�� c}�� }}}t
|� }t |� }|} t |� D ] \ }
}|||
k7 s�|d |
} n |r�n�d d }|�j | � z S c c}w # t $ r t d� �w xY wc c}w c c}}w )
zDGiven a sequence of path names, returns the longest common sub-path.z%commonpath() arg is an empty sequencer � /� .�/�.c 3 �. �K � | ] }|d d �k( �� � y �w)N� � )�.0�p�seps ��0/usr/lib/python3/dist-packages/fs/_pathcompat.py� <genexpr>zcommonpath.<locals>.<genexpr> s �� �� �7�A�1�R�a�5�C�<�7�s �z%Can't mix absolute and relative pathsN)
�
ValueError�tuple�
isinstance�bytes�split�set�min�max� enumerate�join)
�paths�curdir�path�split_paths�isabs�s�c�s1�s2�common�i�prefixr s
@r r r
s5 �� � ��D�E�E��e����e�A�h��&��C��F��C��F�38�9�4�t�z�z�#��9��9� F��7��7�7�H�U� EP�P�q�1�:�a��a�6�k��:�P��P�
��
��
��
�����b�M� �D�A�q��B�q�E�z��B�Q���� �
��3�r��7�������(�(�(��# :�� � F��D�E�E� F�� ;��Ps5 �C*�C/ �0 D�9D�D�D�D�/D�DN)�os.pathr �ImportErrorr � r �<module>r* s! ��')�"��� %)�)�
%)�s � ��