Files
old-parkingkoncept/parkingkonceptvenv/lib/python3.7/__pycache__/genericpath.cpython-37.pyc

35 lines
3.7 KiB
Plaintext
Raw Normal View History

2019-11-17 12:44:16 +01:00
B
<00>x-]<5D><00> @s<>dZddlZddlZddddddd d
d d d g Zdd<04>Zdd
<EFBFBD>Zdd <09>Zdd<08>Zdd<07>Zdd<05>Z dd<06>Z
dd<03>Z dd <0A>Z dd <0B>Z dd <0C>Zdd<1A>Zdd<1C>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.
<EFBFBD>N<> commonprefix<69>exists<74>getatime<6D>getctime<6D>getmtime<6D>getsize<7A>isdir<69>isfile<6C>samefile<6C> sameopenfile<6C>samestatcCs(yt<00>|<00>Wntk
r"dSXdS)zDTest whether a path exists. Returns False for broken symbolic linksFT)<03>os<6F>stat<61>OSError)<01>path<74>r<00>Y/home/hamo/projects/zoblak/parkingkoncept/parkingkonceptvenv/lib/python3.7/genericpath.pyrs
cCs0yt<00>|<00>}Wntk
r"dSXt<01>|j<04>S)z%Test whether a path is a regular fileF)r rr<00>S_ISREG<45>st_mode)r<00>strrrr s
cCs0yt<00>|<00>}Wntk
r"dSXt<01>|j<04>S)z<Return true if the pathname refers to an existing directory.F)r rr<00>S_ISDIRr)<02>srrrrr's
cCs t<00>|<00>jS)z1Return the size of a file, reported by os.stat().)r r<00>st_size)<01>filenamerrrr0scCs t<00>|<00>jS)zCReturn the last modification time of a file, reported by os.stat().)r r<00>st_mtime)rrrrr5scCs t<00>|<00>jS)z=Return the last access time of a file, reported by os.stat().)r r<00>st_atime)rrrrr:scCs t<00>|<00>jS)zAReturn the metadata change time of a file, reported by os.stat().)r r<00>st_ctime)rrrrr?scCsl|sdSt|dttf<02>s*tttj|<00><02>}t|<00>}t|<00>}x,t|<01>D] \}}|||krD|d|<03>SqDW|S)zGGiven a list of pathnames, returns the longest common leading component<6E>rN) <09>
isinstance<EFBFBD>list<73>tuple<6C>mapr <00>fspath<74>min<69>max<61> enumerate)<05>m<>s1<73>s2<73>i<>crrrrEs cCs|j|jko|j|jkS)z5Test whether two stat buffers reference the same file)<02>st_ino<6E>st_dev)r'r(rrrr Ws cCst<00>|<00>}t<00>|<01>}t||<03>S)z9Test whether two pathnames reference the same actual file)r rr )Zf1Zf2r'r(rrrr
^s

cCst<00>|<00>}t<00>|<01>}t||<03>S)z:Test whether two open file objects reference the same file)r <00>fstatr )Zfp1Zfp2r'r(rrrr gs

cCs<>|<00>|<01>}|r"|<00>|<02>}t||<05>}|<00>|<03>}||kr~|d}x@||kr||||d<00>|krr|d|<06>||d<02>fS|d7}q>W||dd<03>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.<2E>Nr)<02>rfindr$)<08>p<>sep<65>altsep<65>extsepZsepIndexZ altsepIndexZdotIndexZ filenameIndexrrr<00> _splitextus




 r4cGsbd}}xB|D]:}t|t<01>r"d}qt|t<02>r2d}qtd||jjf<00>d<00>qW|r^|r^td<04>d<00>dS)NFTz*%s() argument must be str or bytes, not %rz.Can't mix strings and bytes in path components)r<00>str<74>bytes<65> TypeError<6F> __class__<5F>__name__)Zfuncname<6D>argsZhasstrZhasbytesrrrr<00>_check_arg_types<65>s


r;)<11>__doc__r r<00>__all__rr rrrrrrr r
r r4r;rrrr<00><module>s$