Qfr ddlZddlZgdZdZdZdZdZdZdZd Z d Z d Z d Z d Z dZdZdZy)N) commonprefixexistsgetatimegetctimegetmtimegetsizeisdirisfileislinksamefile sameopenfilesamestatc\ tj|y#ttf$rYywxYw)NFT)osstatOSError ValueError)paths 2/opt/alt/python312/lib64/python3.12/genericpath.pyrrs3N    Z s ++c tj|}tj|j S#ttf$rYywxYwNF)rrrrS_ISREGst_modersts rr r sE/ WWT] << ## Z 7A A c tj|}tj|j S#ttf$rYywxYwr)rrrrS_ISDIRr)srs rr r 'sEF WWQZ << ## Z rc tj|}t j |jS#tttf$rYywxYwr)rlstatrrAttributeErrorrS_ISLNKrrs rr r 3sG0 XXd^ << ## Z 0s7A AcB tj|jSN)rrst_sizefilenames rrr<s; 778  $ $$cB tj|jSr%)rrst_mtimer's rrrAsM 778  % %%r)cB tj|jSr%)rrst_atimer's rrrFsG 778  % %%r)cB tj|jSr%)rrst_ctimer's rrrKsK 778  % %%r)c |syt|dttfs#tttj |}t |}t|}t|D]\}}|||k7s|d|cS|S)Nr) isinstancelisttuplemaprfspathminmax enumerate)ms1s2ics rrrQstM R adT5M * #bii# $ QB QB" 1 1:bq6M Ir)cl |j|jk(xr|j|jk(Sr%)st_inost_dev)r;r<s rrrcs/? II " # II "$r)cp tj|}tj|}t||Sr%)rrr)f1f2r;r<s rr r js0 B B B r)cp tj|}tj|}t||Sr%)rfstatr)fp1fp2r;r<s rr r ws,D #B #B B r)c |j|}|r|j|}t||}|j|}||kDr*|dz}||kr |||dz|k7r |d|||dfS|dz }||kr ||ddfS)Nr)rfindr8)psepaltsepextsepsepIndex altsepIndexdotIndex filenameIndexs r _splitextrTs? wws|H ggfo x-wwvH( 1 h&}Q/69(|Qxy\11 Q Mh& ae8Or)cdx}}|D]L}t|trd}t|trd})t|d|jj d|r|r tddyy)NFTz;() argument must be str, bytes, or os.PathLike object, not z.Can't mix strings and bytes in path components)r2strbytes TypeError __class____name__)funcnameargshasstrhasbytesrs r_check_arg_typesr_sFX  a F 5 !Hxj)778{{7K7K6NPQVZ [ (HItSvr))rr__all__rr r r rrrrrrr r rTr_r)rrbs`   $$$% & & & $$. Tr)