python (3.11.7)

(root)/
lib/
python3.11/
__pycache__/
genericpath.cpython-311.opt-1.pyc

eopdZddlZddlZgdZdZdZdZdZdZd	Z	d
Z
dZdZd
Z
dZdZdZdS)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)commonprefixexistsgetatimegetctimegetmtimegetsizeisdirisfilesamefilesameopenfilesamestatcb	tj|n#ttf$rYdSwxYwdS)zDTest whether a path exists.  Returns False for broken symbolic linksFT)osstatOSError
ValueError)paths ?/BuggyBox/python/3.11.7/bootstrap/lib/python3.11/genericpath.pyrrsB




Z uu4,,c	tj|}n#ttf$rYdSwxYwtj|jS)z%Test whether a path is a regular fileF)rrrrS_ISREGst_mode)rsts  rr
r
sO
WT]]Z uu<
###rc	tj|}n#ttf$rYdSwxYwtj|jS)z<Return true if the pathname refers to an existing directory.F)rrrrS_ISDIRr)srs  rr	r	'sO
WQZZZ uu<
###rc4tj|jS)z1Return the size of a file, reported by os.stat().)rrst_sizefilenames rrr0s
78$$c4tj|jS)zCReturn the last modification time of a file, reported by os.stat().)rrst_mtimers rrr5
78%%r!c4tj|jS)z=Return the last access time of a file, reported by os.stat().)rrst_atimers rrr:r$r!c4tj|jS)zAReturn the metadata change time of a file, reported by os.stat().)rrst_ctimers rrr?r$r!c6|sdSt|dttfs'tttj|}t
|}t|}t|D]\}}|||kr|d|cS|S)zGGiven a list of pathnames, returns the longest common leading componentrN)	
isinstancelisttuplemaprfspathminmax	enumerate)ms1s2ics     rrrEsRR
adT5M**%#bi##$$	QB	QB"

11::bqb6MMM
Ir!cB|j|jko|j|jkS)z5Test whether two stat buffers reference the same file)st_inost_dev)r4r5s  rr
r
Ws$I"
#I"$r!crtj|}tj|}t||S)zTest whether two pathnames reference the same actual file or directory

    This is determined by the device number and i-node number and
    raises an exception if an os.stat() call on either pathname fails.
    )rrr
)f1f2r4r5s    rrr^s.
B	BBr!crtj|}tj|}t||S)z:Test whether two open file objects reference the same file)rfstatr
)fp1fp2r4r5s    rrrks,	#B	#BBr!c>||}|r%||}t||}||}||kr;|dz}||kr0|||dz|kr|d|||dfS|dz
}||k0||ddfS)zSplit the extension from a pathname.

    Extension is everything from the last dot to the end, ignoring
    leading dots.  Returns "(root, ext)"; ext may be empty.Nr)rfindr1)psepaltsepextsepsepIndexaltsepIndexdotIndex
filenameIndexs        r	_splitextrMyswws||H
.ggfoox--wwvH( 1
h&&}Q./699(|Qxyy\11QMh&&

ae8Or!cdx}}|D]P}t|trd}t|trd}2t|d|jjd|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_typesrXsFX
[[a	[FF
5
!
!	[HHxPP78{7KPPQQVZ
[
T(THIItSTTTTr!)__doc__rr__all__rr
r	rrrrrr
rrrMrXr!r<module>r\s

			$$$$$$%%%
&&&
&&&
&&&$$$$.TTTTTr!