Current File : //usr/lib64/python2.7/genericpath.pyo |
�
m��fc @ s� d Z d d l Z d d l Z d d d d d d d d
g Z d � Z d � Z d
� Z d � Z d � Z d � Z d � Z
d � Z d � Z d S( 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 commonprefixt existst getatimet getctimet getmtimet getsizet isdirt isfilec C s- y t j | � Wn t j k
r( t SXt S( sD Test whether a path exists. Returns False for broken symbolic links( t ost statt errort Falset True( t path( ( s# /usr/lib64/python2.7/genericpath.pyR s
c C s; y t j | � } Wn t j k
r* t SXt j | j � S( s% Test whether a path is a regular file( R R R
R t S_ISREGt st_mode( R
t st( ( s# /usr/lib64/python2.7/genericpath.pyR s
c C s; y t j | � } Wn t j k
r* t SXt j | j � S( s<