Viewing File: /opt/imunify360/venv/lib/python3.11/site-packages/setuptools/__pycache__/_path.cpython-311.pyc



]j jddlZddlZddlmZeeejfZdZdededefdZ	dedefd	Z
dS)
N)Unioncptj|}tj|ddS)z1Ensure that the parent directory of `path` existsT)exist_okN)ospathdirnamemakedirs)rrs  G/opt/imunify360/venv/lib64/python3.11/site-packages/setuptools/_path.pyensure_directoryrs0good##GK$''''''p1p2returncBt|t|kS)aDiffers from os.path.samefile because it does not require paths to exist.
    Purely string based (no comparison between i-nodes).
    >>> same_path("a/b", "./a/b")
    True
    >>> same_path("a/b", "a/./b")
    True
    >>> same_path("a/b", "././a/b")
    True
    >>> same_path("a/b", "./a/b/c/..")
    True
    >>> same_path("a/b", "../a/b/c")
    False
    >>> same_path("a", "a/b")
    False
    )normpath)r
rs  r
	same_pathrs B<<8B<<''rfilenamectjdkrtj|n|}tjtjtj|S)z2Normalize a file/dir name for comparison purposes.cygwin)sysplatformrrabspathnormcaserealpathr)rfiles  r
rr!s^),(@(@27??8$$$hD
7BG,,RW-=-=d-C-CDDEEEr)rrtypingrstrPathLike_Pathrboolrrrr
<module>r"s				




c2;((((%(U(t((((&FuFFFFFFFr
Back to Directory File Manager