QҦ d dl Z d dlZg dZd Zd Zd Zd Zd Zd Zd Z d
Z
d Zd Zd
Z
d Zd Zej G d d ZdS ) N)commonprefixexistsgetatimegetctimegetmtimegetsizeisdirisfilesamefilesameopenfilesamestat
ALLOW_MISSINGc d t j | n# t t f$ r Y dS w xY wdS )NFT)osstatOSError
ValueError)paths 8/opt/alt/python-internal/lib64/python3.11/genericpath.pyr r sE N
Z uu4 --c t j | }n# t t f$ r Y dS w xY wt j |j S NF)r r r r S_ISREGst_mode)r sts r r
r
sR /
WT]]Z uu<
###r c t j | }n# t t f$ r Y dS w xY wt j |j S r )r r r r S_ISDIRr )sr s r r r ' sR F
WQZZZ uu<
###r c 6 t j | j S N)r r st_sizefilenames r r r 0 s ;
78$$ c 6 t j | j S r )r r st_mtimer" s r r r 5 s M
78%%r$ c 6 t j | j S r )r r st_atimer" s r r r : s G
78%%r$ c 6 t j | j S r )r r st_ctimer" s r r r ? s K
78%%r$ c 8 | sdS t | d t t f s't t t j | } t
| }t | }t | D ]\ }}||| k r|d | c S |S )N r )
isinstancelisttuplemapr fspathminmax enumerate)ms1s2ics r r r E s MRR
adT5M** %#bi##$$ QB QB"
11::bqb6MMM
Ir$ c D | j |j k o| j |j k S r )st_inost_dev)r6 r7 s r r
r
W s' ?I"
#I"$r$ c t t j | }t j | }t || S r )r r r
)f1f2r6 r7 s r r r ^ s3
B BBr$ c t t j | }t j | }t || S r )r fstatr
)fp1fp2r6 r7 s r r r k s/ D #B #BBr$ c @ | | }|r%| | }t || }| | }||k r;|dz }||k r0| ||dz |k r| d | | |d fS |dz
}||k 0| | d d fS )N r )rfindr3 )psepaltsepextsepsepIndexaltsepIndexdotIndex
filenameIndexs r _splitextrO y s ? wws||H
.ggfoox--wwvH( 1
h&&}Q./699(|Qxyy\11QM h&&
ae8Or$ c dx}}|D ]P}t |t rd}t |t rd}2t | d|j j d |r|rt d d d S d S )NFTz;() argument must be str, bytes, or os.PathLike object, not z.Can't mix strings and bytes in path components)r- strbytes TypeError __class____name__)funcnameargshasstrhasbytesr s r _check_arg_typesrZ s FX
[ [a [FF
5
!
! [HHx P P78{7KP P Q QVZ
[
T( THIItST T T Tr$ c e Zd Z d Zd ZdS )r c dS )Nzos.path.ALLOW_MISSING selfs r __repr__zALLOW_MISSING.__repr__ s &&r$ c | j j S r )rT rU r^ s r
__reduce__zALLOW_MISSING.__reduce__ s
~&&r$ N)rU
__module____qualname__r` rb r] r$ r r r s5 .' ' '' ' ' ' 'r$ r )r r __all__r r
r r r r r r r
r r rO rZ object__new__r r] r$ r