ó ^ bc@sÅdZddlZddlZddddddd d gZy eZWn'ek rod efd „ƒYZnXd „Zd„Z d„Z d„Z d„Z d„Z d„Zd„Zd„ZdS(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 commonprefixtexiststgetatimetgetctimetgetmtimetgetsizetisdirtisfilet_unicodecBseZRS((t__name__t __module__(((s0/opt/alt/python27/lib64/python2.7/genericpath.pyRscCs-ytj|ƒWntjk r(tSXtS(sDTest whether a path exists. Returns False for broken symbolic links(toststatterrortFalsetTrue(tpath((s0/opt/alt/python27/lib64/python2.7/genericpath.pyRs cCs;ytj|ƒ}Wntjk r*tSXtj|jƒS(s%Test whether a path is a regular file(R R R RtS_ISREGtst_mode(Rtst((s0/opt/alt/python27/lib64/python2.7/genericpath.pyR"s cCs;ytj|ƒ}Wntjk r*tSXtj|jƒS(s<Return true if the pathname refers to an existing directory.(R R R RtS_ISDIRR(tsR((s0/opt/alt/python27/lib64/python2.7/genericpath.pyR.s cCstj|ƒjS(s1Return the size of a file, reported by os.stat().(R R tst_size(tfilename((s0/opt/alt/python27/lib64/python2.7/genericpath.pyR7scCstj|ƒjS(sCReturn the last modification time of a file, reported by os.stat().(R R tst_mtime(R((s0/opt/alt/python27/lib64/python2.7/genericpath.pyR<scCstj|ƒjS(s=Return the last access time of a file, reported by os.stat().(R R tst_atime(R((s0/opt/alt/python27/lib64/python2.7/genericpath.pyRAscCstj|ƒjS(sAReturn the metadata change time of a file, reported by os.stat().(R R tst_ctime(R((s0/opt/alt/python27/lib64/python2.7/genericpath.pyRFscCs[|s dSt|ƒ}t|ƒ}x2t|ƒD]$\}}|||kr/|| Sq/W|S(sGGiven a list of pathnames, returns the longest common leading componentt(tmintmaxt enumerate(tmts1ts2titc((s0/opt/alt/python27/lib64/python2.7/genericpath.pyRLs   cCs§|j|ƒ}|r6|j|ƒ}t||ƒ}n|j|ƒ}||kr|d}x?||kr™|||krŒ|| ||fS|d7}q^Wn|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((s0/opt/alt/python27/lib64/python2.7/genericpath.pyt _splitext]s  (t__doc__R R t__all__tunicodeRt NameErrortobjectRRRRRRRRR-(((s0/opt/alt/python27/lib64/python2.7/genericpath.pyts"