3
¦ f” ã @ sš d Z ddlZddlZddddddd d
ddd
gZdd„ Zdd
„ Zdd „ Zdd„ Zdd„ Zdd„ Z dd„ Z
dd„ Zdd
„ Zdd„ Z
dd„ Zdd„ Zdd„ 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Úsamestatc C s( yt j| ƒ W n tk
r" dS X dS )zDTest whether a path exists. Returns False for broken symbolic linksFT)ÚosÚstatÚOSError)Úpath© r ú0/opt/alt/python36/lib64/python3.6/genericpath.pyr s
c C s0 yt j| ƒ}W n tk
r" dS X tj|jƒS )z%Test whether a path is a regular fileF)r
r r ÚS_ISREGÚst_mode)r Ústr r r r s
c C s0 yt j| ƒ}W n tk
r" dS X tj|jƒS )z