ROOTPLOIT
Server: LiteSpeed
System: Linux server71.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User: niphet (1079)
PHP: 5.3.29
Disabled: NONE
Upload Files
File: //lib64/python3.6/__pycache__/genericpath.cpython-36.pyc
3

„ƒÎi¤ã@s°dZddlZddlZddddddd	d
ddd
dgZdd„Zdd
„Zdd	„Zdd„Zdd„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_MISSINGcCs(ytj|ƒWntk
r"dSXdS)zDTest whether a path exists.  Returns False for broken symbolic linksFT)ÚosÚstatÚOSError)Úpath©rú#/usr/lib64/python3.6/genericpath.pyrs
cCs0ytj|ƒ}Wntk
r"dSXtj|jƒS)z%Test whether a path is a regular fileF)rrrÚS_ISREGÚst_mode)rÚstrrrr	s
cCs0ytj|ƒ}Wntk
r"dSXtj|jƒS)z<Return true if the pathname refers to an existing directory.F)rrrÚS_ISDIRr)Úsrrrrr's
cCstj|ƒjS)z1Return the size of a file, reported by os.stat().)rrÚst_size)Úfilenamerrrr0scCstj|ƒjS)zCReturn the last modification time of a file, reported by os.stat().)rrÚst_mtime)rrrrr5scCstj|ƒjS)z=Return the last access time of a file, reported by os.stat().)rrÚst_atime)rrrrr:scCstj|ƒjS)zAReturn the metadata change time of a file, reported by os.stat().)rrÚst_ctime)rrrrr?scCsl|sdSt|dttfƒs*tttj|ƒƒ}t|ƒ}t|ƒ}x,t|ƒD] \}}|||krD|d|…SqDW|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cCs|j|jko|j|jkS)z5Test whether two stat buffers reference the same file)Úst_inoÚst_dev)r(r)rrrrWscCstj|ƒ}tj|ƒ}t||ƒS)z9Test whether two pathnames reference the same actual file)rrr)Úf1Úf2r(r)rrrr
^s

cCstj|ƒ}tj|ƒ}t||ƒS)z:Test whether two open file objects reference the same file)rÚfstatr)Úfp1Úfp2r(r)rrrrgs

cCsŽ|j|ƒ}|r"|j|ƒ}t||ƒ}|j|ƒ}||kr~|d}x@||kr||||d…|krr|d|…||d…fS|d7}q>W||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Ú	_splitextus




r=cGsbd}}xB|D]:}t|tƒr"d}qt|tƒr2d}qtd||jjfƒd‚qW|r^|r^tdƒd‚dS)NFTz*%s() argument must be str or bytes, not %rz.Can't mix strings and bytes in path components)rÚstrÚbytesÚ	TypeErrorÚ	__class__Ú__name__)ÚfuncnameÚargsÚhasstrÚhasbytesrrrrÚ_check_arg_typesŒs


rGc@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)rArB)rHrrrÚ
__reduce__ szALLOW_MISSING.__reduce__N)rBÚ
__module__Ú__qualname__Ú__doc__rIrJrrrrr
›s)rMrrÚ__all__rr	rrrrrrrr
rr=rGÚobjectÚ__new__r
rrrrÚ<module>s&