U
e5do ã @ 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. zt | ¡ W n ttfk
r( Y dS X dS )zDTest whether a path exists. Returns False for broken symbolic linksFT)ÚosÚstatÚOSErrorÚ
ValueError)Úpath© r ú#/usr/lib64/python3.8/genericpath.pyr s
c C s6 zt | ¡}W n ttfk
r( Y dS X t |j¡S )z%Test whether a path is a regular fileF)r
r r r ÚS_ISREGÚst_mode)r Ústr r r r s
c C s6 zt | ¡}W n ttfk
r( Y dS X t |j¡S )z