B
@I @ 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.
Ncommonprefixexistsgetatimegetctimegetmtimegetsizeisdirisfilesamefilesameopenfilesamestatc C s( yt | W n tk
r" dS X dS )zDTest whether a path exists. Returns False for broken symbolic linksFT)osstatOSError)path r 0/opt/alt/python37/lib64/python3.7/genericpath.pyr s
c C s0 yt | }W n tk
r" dS X t|jS )z%Test whether a path is a regular fileF)r
r r S_ISREGst_mode)r str r r r s
c C s0 yt | }W n tk
r" dS X t|jS )z