Uname: Linux server230.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
Software: LiteSpeed
PHP version: 8.1.32 [ PHP INFO ] PHP os: Linux
Server Ip: 198.54.115.51
Your Ip: 216.73.216.44
User: myflzuab (636) | Group: myflzuab (635)
Safe Mode: OFF
Disable Function:
NONE

name : genericpath.cpython-310.pyc
o

�=?h~�@s�dZddlZddlZgd�Zdd�Zdd�Zdd	�Zd
d�Zdd
�Zdd�Z	dd�Z
dd�Zdd�Zdd�Z
dd�Zdd�Zdd�ZejGdd�d��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�samestat�
ALLOW_MISSINGc	Cs*zt�|�WdSttfyYdSw)zDTest whether a path exists.  Returns False for broken symbolic linksFT)�os�stat�OSError�
ValueError)�path�r�2/opt/alt/python310/lib64/python3.10/genericpath.pyrs��rc	C�4zt�|�}WnttfyYdSwt�|j�S)z%Test whether a path is a regular fileF)rrrr�S_ISREG�st_mode)r�strrrr	��r	c	Cr)z<Return true if the pathname refers to an existing directory.F)rrrr�S_ISDIRr)�srrrrr'rrcC�t�|�jS)z1Return the size of a file, reported by os.stat().)rr�st_size��filenamerrrr0�rcCr)zCReturn the last modification time of a file, reported by os.stat().)rr�st_mtimerrrrr5r rcCr)z=Return the last access time of a file, reported by os.stat().)rr�st_atimerrrrr:r rcCr)zAReturn the metadata change time of a file, reported by os.stat().)rr�st_ctimerrrrr?r rcCsl|sdSt|dttf�stttj|��}t|�}t|�}t|�D]\}}|||kr3|d|�Sq!|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�crrrrEs�rcCs|j|jko|j|jkS)z5Test whether two stat buffers reference the same file)�st_ino�st_dev)r.r/rrrrWs
�rcC�t�|�}t�|�}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�f2r.r/rrrr
^s


r
cCr4)z:Test whether two open file objects reference the same file)r�fstatr)�fp1�fp2r.r/rrrrks


rcCs�|�|�}|r|�|�}t||�}|�|�}||kr@|d}||kr@|||d�|kr8|d|�||d�fS|d7}||ks"||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)�rfindr+)�p�sep�altsep�extsep�sepIndex�altsepIndex�dotIndex�
filenameIndexrrr�	_splitextys



�rDcGsbd}}|D]}t|t�rd}qt|t�rd}qt|�d|jj���d�|r-|r/td�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�hasbytesrrrr�_check_arg_types�s

��
�rNc@s eZdZdZdd�Zdd�ZdS)r
z$Special value for use in realpath().cCsdS)Nzos.path.ALLOW_MISSINGr��selfrrr�__repr__�szALLOW_MISSING.__repr__cCs|jjS)N)rHrIrOrrr�
__reduce__�szALLOW_MISSING.__reduce__N)rI�
__module__�__qualname__�__doc__rQrRrrrrr
�sr
)rUrr�__all__rr	rrrrrrrr
rrDrN�object�__new__r
rrrr�<module>s&	

© 2025 GrazzMean