python (3.12.0)
ˑe t d Z ddlZddlZg dZd Zd Zd Zd Zd Zd Z d
Z
d Zd Zd
Z
d Zd Zd Zd Zy)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)commonprefixexistsgetatimegetctimegetmtimegetsizeisdirisfileislinksamefilesameopenfilesamestatc Z t j | y# t t f$ r Y yw xY w)zDTest whether a path exists. Returns False for broken symbolic linksFT)osstatOSError
ValueError)paths ?/BuggyBox/python/3.12.0/bootstrap/lib/python3.12/genericpath.pyr r s0
Z s **c t j | }t j |j
S # t t f$ r Y yw xY w)z%Test whether a path is a regular fileF)r r r r S_ISREGst_moder sts r r
r
sB
WWT] <<
##
Z 6 AAc t j | }t j |j
S # t t f$ r Y yw xY w)z<Return true if the pathname refers to an existing directory.F)r r r r S_ISDIRr )sr s r r r '