Your IP : 3.136.236.173


Current Path : /opt/alt/python313/lib64/python3.13/__pycache__/
Upload File :
Current File : //opt/alt/python313/lib64/python3.13/__pycache__/genericpath.cpython-313.pyc

�

2}gX���SrSSKrSSKr/SQrSrSrSrSrSrS	r	S
r
SrSrS
r
SrSrSrSrSrSrSrg)z�
Path operations common to more than one OS
Do not use directly.  The OS specific modules import the appropriate
functions from this module themselves.
�N)�commonprefix�exists�getatime�getctime�getmtime�getsize�
isdevdrive�isdir�isfile�
isjunction�islink�lexists�samefile�sameopenfile�samestatc�^�[R"U5 g![[4a gf=f)zDTest whether a path exists.  Returns False for broken symbolic linksFT)�os�stat�OSError�
ValueError��paths �2/opt/alt/python313/lib64/python3.13/genericpath.pyrrs0���
����
���
�Z� �������,�,c�^�[R"U5 g![[4a gf=f)zCTest whether a path exists.  Returns True for broken symbolic linksFT)r�lstatrrrs rrrs0���
�������
�Z� ����rc��[R"U5n[R"UR
5$![[4a gf=f)z%Test whether a path is a regular fileF)rrrr�S_ISREG�st_mode�r�sts  rrr$sB���
�W�W�T�]���<�<��
�
�#�#��
�Z� ������8�A�
Ac��[R"U5n[R"UR
5$![[4a gf=f)z<Return true if the pathname refers to an existing directory.F)rrrr�S_ISDIRr)�sr!s  rr
r
0sB���
�W�W�Q�Z���<�<��
�
�#�#��
�Z� ����r"c��[R"U5n[
R"UR5$![[[4a gf=f)z&Test whether a path is a symbolic linkF)rrrr�AttributeErrorr�S_ISLNKrr s  rr
r
<sD���
�X�X�d�^���<�<��
�
�#�#��
�Z��0����s�8�A�Ac�0�[R"U5 g)zUTest whether a path is a junction
Junctions are not supported on the current platformF�r�fspathrs rrrF����I�I�d�O��c�0�[R"U5 g)zuDetermines whether the specified path is on a Windows Dev Drive.
Dev Drives are not supported on the current platformFr*rs rr	r	Mr,r-c�B�[R"U5R$)z1Return the size of a file, reported by os.stat().)rr�st_size��filenames rrrTs��
�7�7�8��$�$�$r-c�B�[R"U5R$)zCReturn the last modification time of a file, reported by os.stat().)rr�st_mtimer1s rrrY���
�7�7�8��%�%�%r-c�B�[R"U5R$)z=Return the last access time of a file, reported by os.stat().)rr�st_atimer1s rrr^r5r-c�B�[R"U5R$)zAReturn the metadata change time of a file, reported by os.stat().)rr�st_ctimer1s rrrcr5r-c�
�U(dg[US[[45(d#[[[R
U55n[
U5n[U5n[U5Hup4XBU:wdMUSUs $ U$)zGGiven a list of pathnames, returns the longest common leading component�rN)	�
isinstance�list�tuple�maprr+�min�max�	enumerate)�m�s1�s2�i�cs     rrrisp���R�
�a��d�T�5�M�*�*��#�b�i�i��#�$��	�Q��B�	�Q��B��"�
����1��:��b�q�6�M���Ir-c�t�URUR:H=(a URUR:H$)z5Test whether two stat buffers reference the same file)�st_ino�st_dev)rDrEs  rrr{s,���I�I����"�
#��I�I����"�$r-c�p�[R"U5n[R"U5n[X#5$)z�Test whether two pathnames reference the same actual file or directory

This is determined by the device number and i-node number and
raises an exception if an os.stat() call on either pathname fails.
)rrr)�f1�f2rDrEs    rrr�s)��
�����B�	�����B��B��r-c�p�[R"U5n[R"U5n[X#5$)z:Test whether two open file objects reference the same file)r�fstatr)�fp1�fp2rDrEs    rrr�s'��	���#��B�	���#��B��B��r-c��URU5nU(aURU5n[XE5nURU5nXd:�a*US-nXv:a XUS-U:wa	USUXS4$US-
nXv:aM XSS4$)z�Split the extension from a pathname.

Extension is everything from the last dot to the end, ignoring
leading dots.  Returns "(root, ext)"; ext may be empty.�Nr)�rfindrA)�p�sep�altsep�extsep�sepIndex�altsepIndex�dotIndex�
filenameIndexs        r�	_splitextr]�s����w�w�s�|�H�
��g�g�f�o���x�-���w�w�v��H��� �1��
��&��}�Q��/�6�9���(�|�Q�y�\�1�1��Q��M��&�

���e�8�Or-c��S=p#UHYn[U[5(aSnM[U[5(aSnM5[USURR
<35Se U(aU(a[S5Segg)NFTz;() argument must be str, bytes, or os.PathLike object, not z.Can't mix strings and bytes in path components)r<�str�bytes�	TypeError�	__class__�__name__)�funcname�args�hasstr�hasbytesr%s     r�_check_arg_typesrh�s�����F�
���a�����F�
��5�
!�
!��H��x�j�)7�78�{�{�7K�7K�6N�P�Q�VZ�
[�
��(��H�I�t�S��vr-)�__doc__rr�__all__rrrr
r
rr	rrrrrrrrr]rh�r-r�<module>rlso���

��>����$�$�$���%�
&�
&�
&��$$����.Tr-

?>