Wcon ddlZddlZgdZdZdZdZdZdZdZd Z d Z d Z d Z d Z dZdZdS)N) commonprefixexistsgetatimegetctimegetmtimegetsizeisdirisfilesamefile sameopenfilesamestatch tj|dS#ttf$rYdSwxYw)NFT)osstatOSError ValueError)paths $/usr/lib64/python3.12/genericpath.pyrrsGN   4 Z uus 11c tj|}tj|j S#ttf$rYdSwxYwNF)rrrrS_ISREGst_mode)rsts rr r sU/ WWT] << ## Z uu;AAc tj|}tj|j S#ttf$rYdSwxYwr)rrrrS_ISDIRr)srs rr r 'sUF WWQZ << ## Z uurcF tj|jSN)rrst_sizefilenames rrr0s; 778  $ $$cF tj|jSr)rrst_mtimer!s rrr5sM 778  % %%r#cF tj|jSr)rrst_atimer!s rrr:sG 778  % %%r#cF tj|jSr)rrst_ctimer!s rrr?sK 778  % %%r#c" |sdSt|dttfs(tttj |}t |}t|}t|D]\}}|||ks|d|cS|S)Nr) isinstancelisttuplemaprfspathminmax enumerate)ms1s2ics rrrEsM 1RR adT5M * * #bii# $ QB QB" 1 1::bq6MMM Ir#cl |j|jko|j|jkSr)st_inost_dev)r5r6s rr r Ws/? II " # II "$r#c| tj|}tj|}t||Sr)rrr )f1f2r5r6s rr r ^s0 B B B r#c| tj|}tj|}t||Sr)rfstatr )fp1fp2r5r6s rr r ks,D #B #B B r#c |j|}|r |j|}t||}|j|}||kr-|dz}||kr"|||dz|kr |d|||dfS|dz }||kr"||ddfS)Nr)rfindr2)psepaltsepextsepsepIndex altsepIndexdotIndex filenameIndexs r _splitextrNys? wws|H vggfo x-wwvH( 1 h&&}Q/699(|Qxy\11 Q Mh&& ae8Or#cdx}}|D]T}t|trd}t|trd}/t|d|jj d|r|rtdddSdS)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__)funcnameargshasstrhasbytesrs r_check_arg_typesrYsFX [[ a  FF 5 ! !HHxPP78{{7K7KPPQVZ [ v((HItS(vvr#)rr__all__rr r rrrrrr r r rNrYr#rr\s     $$$$$$%%% &&& &&& &&& $$$$. T T T T Tr#