Sh3ll
OdayForums


Server : Apache
System : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64
User : nobody ( 99)
PHP Version : 8.1.23
Disable Function : NONE
Directory :  /opt/alt/python311/lib64/python3.11/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/alt/python311/lib64/python3.11/__pycache__/genericpath.cpython-311.pyc
�

�,do��p�dZddlZddlZgd�Zd�Zd�Zd�Zd�Zd�Zd	�Z	d
�Z
d�Zd�Zd
�Z
d�Zd�Zd�ZdS)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�isdir�isfile�samefile�sameopenfile�samestatc�b�	tj|��n#ttf$rYdSwxYwdS)zDTest whether a path exists.  Returns False for broken symbolic linksFT)�os�stat�OSError�
ValueError)�paths �2/opt/alt/python311/lib64/python3.11/genericpath.pyrrsB���
���
�
�
�
���Z� �����u�u������4���,�,c��	tj|��}n#ttf$rYdSwxYwtj|j��S)z%Test whether a path is a regular fileF)rrrr�S_ISREG�st_mode)r�sts  rr
r
sO���
�W�T�]�]�����Z� �����u�u������<��
�#�#�#rc��	tj|��}n#ttf$rYdSwxYwtj|j��S)z<Return true if the pathname refers to an existing directory.F)rrrr�S_ISDIRr)�srs  rr	r	'sO���
�W�Q�Z�Z�����Z� �����u�u������<��
�#�#�#rc�4�tj|��jS)z1Return the size of a file, reported by os.stat().)rr�st_size��filenames rrr0s��
�7�8���$�$�c�4�tj|��jS)zCReturn the last modification time of a file, reported by os.stat().)rr�st_mtimers rrr5���
�7�8���%�%r!c�4�tj|��jS)z=Return the last access time of a file, reported by os.stat().)rr�st_atimers rrr:r$r!c�4�tj|��jS)zAReturn the metadata change time of a file, reported by os.stat().)rr�st_ctimers rrr?r$r!c�6�|sdSt|dttf��s'tttj|����}t
|��}t|��}t|��D]\}}|||kr|d|�cS�|S)zGGiven a list of pathnames, returns the longest common leading component�rN)	�
isinstance�list�tuple�mapr�fspath�min�max�	enumerate)�m�s1�s2�i�cs     rrrEs�����R�R�
�a��d�T�5�M�*�*�%��#�b�i��#�#�$�$��	�Q���B�	�Q���B��"�
�
�����1���1��:�:��b�q�b�6�M�M�M��
�Ir!c�B�|j|jko|j|jkS)z5Test whether two stat buffers reference the same file)�st_ino�st_dev)r4r5s  rr
r
Ws$���I���"�
#��I���"�$r!c�r�tj|��}tj|��}t||��S)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�f2r4r5s    rrr^s.��
�����B�	�����B��B����r!c�r�tj|��}tj|��}t||��S)z:Test whether two open file objects reference the same file)r�fstatr
)�fp1�fp2r4r5s    rrrks,��	��#���B�	��#���B��B����r!c�>�|�|��}|r%|�|��}t||��}|�|��}||kr;|dz}||kr0|||dz�|kr|d|�||d�fS|dz
}||k�0||dd�fS)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)�rfindr1)�p�sep�altsep�extsep�sepIndex�altsepIndex�dotIndex�
filenameIndexs        r�	_splitextrMys����w�w�s�|�|�H�
�.��g�g�f�o�o���x��-�-���w�w�v���H��(��� �1��
��h�&�&���}�Q��.�/�6�9�9���(��|�Q�x�y�y�\�1�1��Q��M��h�&�&�

�a����e�8�Or!c���dx}}|D]P}t|t��rd}�t|t��rd}�2t|�d|jj����d�|r|rtd��d�dSdS)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�hasbytesrs     r�_check_arg_typesrX�s�����F�X�
�[�[���a����	[��F�F�
��5�
!�
!�	[��H�H��x�P�P�78�{�7K�P�P�Q�Q�VZ�
[�
�T�(�T��H�I�I�t�S�T�T�T�Tr!)�__doc__rr�__all__rr
r	rrrrrr
rrrMrX�r!r�<module>r\s����

�	�	�	������������$�$�$�$�$�$�%�%�%�
&�&�&�
&�&�&�
&�&�&����$$�$�$����������.T�T�T�T�Tr!

ZeroDay Forums Mini