b374k
m1n1 1.01
Apache/2.2.15 (CentOS)
Linux obd60-6c49958d75-2q7cw 5.4.0-174-generic #193-Ubuntu SMP Thu Mar 7 14:29:28 UTC 2024 x86_64
uid=48(apache) gid=48(apache) groups=48(apache)
server ip : 172.67.192.52 | your ip : 10.244.126.0
safemode OFF
 >  / usr / lib64 / python2.6 /
Filename/usr/lib64/python2.6/genericpath.pyc
Size3.21 kb
Permissionrw-r--r--
Ownerapache
Create time23-Dec-2025 17:41
Last modified20-Jun-2019 19:45
Last accessed22-Apr-2026 05:24
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
Ñò
§ÚêLc
@s�dZddkZddkZddddddd d
gZd �Zd �Zd
�Zd�Zd�Zd�Z d�Z
d�Z d�Z dS(s�
Path operations common to more than one OS
Do not use directly. The OS specific modules import the appropriate
functions from this module themselves.
iÿÿÿÿNt commonprefixtexiststgetatimetgetctimetgetmtimetgetsizetisdirtisfilecCs1yti|�}Wntij
otSXtS(sDTest whether a path exists. Returns False for broken symbolic links(toststatterrortFalsetTrue(tpathtst((s#/usr/lib64/python2.6/genericpath.pyRs
cCs=yti|�}Wntij
otSXti|i�S(s%Test whether a path is a regular file(RR R
R tS_ISREGtst_mode(R
R((s#/usr/lib64/python2.6/genericpath.pyRs
cCs=yti|�}Wntij
otSXti|i�S(s<Return true if the pathname refers to an existing directory.(RR R
R tS_ISDIRR(tsR((s#/usr/lib64/python2.6/genericpath.pyR&s
cCsti|�iS(s1Return the size of a file, reported by os.stat().(RR tst_size(tfilename((s#/usr/lib64/python2.6/genericpath.pyR/scCsti|�iS(sCReturn the last modification time of a file, reported by os.stat().(RR tst_mtime(R((s#/usr/lib64/python2.6/genericpath.pyR4scCsti|�iS(s=Return the last access time of a file, reported by os.stat().(RR tst_atime(R((s#/usr/lib64/python2.6/genericpath.pyR9scCsti|�iS(sAReturn the metadata change time of a file, reported by os.stat().(RR tst_ctime(R((s#/usr/lib64/python2.6/genericpath.pyR>scCs_|pdSt|�}t|�}x4t|�D]&\}}|||jo || Sq1W|S(sGGiven a list of pathnames, returns the longest common leading componentt(tmintmaxt enumerate(tmts1ts2titc((s#/usr/lib64/python2.6/genericpath.pyRDs  

cCs¯|i|�}|o"|i|�}t||�}n|i|�}||joQ|d}xD||jo2|||jo|| ||fS|d7}qaWn|dfS(s¤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.iR(trfindR(tptseptaltseptextseptsepIndext altsepIndextdotIndext
filenameIndex((s#/usr/lib64/python2.6/genericpath.pyt _splitextUs


(
t__doc__RR t__all__RRRRRRRRR*(((s#/usr/lib64/python2.6/genericpath.pyt<module>s