File: //opt/alt/python310/lib64/python3.10/__pycache__/ntpath.cpython-310.opt-2.pyc
o
0�ixm � @ s& d Z dZd ZdZdZdZdZdZddlZddl Z ddl
Z
ddlZdd lT g d
�Zdd� Z
zdd
lmZmZmZ dd� ZW n
eyJ dd� ZY nw dd� Zdd� Zdd� Zdd� Zdd� Zejje_dd� Zdd� Zdd � Z d!d"� Z!zdd#l"m#Z# W n ey� dZ#Y nw d$d%� Z$d&d'� Z%d(Z&da'da(d)d*� Z)d+d,� Z*d-d.� Z+zdd/l"m,Z, W n ey� e+Z-Y nw d0d1� Z-z
dd2l"m.Z.m/Z0 W n ey� d3d4�d5d6�Z1Y nw e2fd7d8�Z3e2fd9d:�Z4d3d4�d;d6�Z1e5e d<�o�e �6� d= d>kZ7dDd?d@�Z8dAdB� Z9z ddCl"m:Z; W dS e�y Y dS w )E�.�..�\�;�/z.;C:\binZnul� N)�*)'�normcase�isabs�join�
splitdrive�split�splitext�basename�dirname�commonprefix�getsize�getmtime�getatime�getctime�islink�exists�lexists�isdir�isfile�ismount�
expanduser�
expandvars�normpath�abspath�curdir�pardir�sep�pathsep�defpath�altsep�extsep�devnull�realpath�supports_unicode_filenames�relpath�samefile�sameopenfile�samestat�
commonpath�
ALLOW_MISSINGc C s t | t�rdS dS )N� \/�\/)�
isinstance�bytes��path� r5 �-/opt/alt/python310/lib64/python3.10/ntpath.py�
_get_bothseps$ s
r7 )�
LCMapStringEx�LOCALE_NAME_INVARIANT�LCMAP_LOWERCASEc C sf t �| �} | s
| S t| t�r)t�� }| �|d��dd�} tt t
| �} | �|d�S tt t
| �dd��S )N�surrogateescaper r )�os�fspathr1 r2 �sys�getfilesystemencoding�decode�replace�_LCMapStringEx�_LOCALE_NAME_INVARIANT�_LCMAP_LOWERCASE�encode)�s�encodingr5 r5 r6 r 4 s
�
�r c C sB t �| �} t| t�rt �t �| ��dd��� �S | �dd��� S )Nr r )r<